Browse Source

Suppress notice interrupted by signal

walkor 2 years ago
parent
commit
b9d540d751
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Events/Select.php

+ 1 - 1
src/Events/Select.php

@@ -380,7 +380,7 @@ class Select implements EventInterface
             if ($read || $write || $except) {
                 // Waiting read/write/signal/timeout events.
                 try {
-                    stream_select($read, $write, $except, 0, $this->selectTimeout);
+                    @stream_select($read, $write, $except, 0, $this->selectTimeout);
                 } catch (Throwable) {
                 }
             } else {