Skip to content

Keyboard interrupt signal problem #221

@unusorin

Description

@unusorin
  1. Start a react server.

  2. Ctrl + C (Keyboard interrupt signal)

    PHP Warning: stream_select(): unable to select [4]: Interrupted system call (max_fd=4) in vendor/react/react/src/React/EventLoop/StreamSelectLoop.php on line 141

PHP:

PHP 5.5.1-2+debphp.org~precise+2 (cli) (built: Aug  6 2013 10:49:43) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans

Note:

  • I'm using custom signal handler to close the server ( $loop->stop() )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions