Răsfoiți Sursa

Update ExtEventLoop.php

walkor 7 ani în urmă
părinte
comite
d7db822417
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Events/React/ExtEventLoop.php

+ 1 - 1
Events/React/ExtEventLoop.php

@@ -99,7 +99,7 @@ class ExtEventLoop extends \React\EventLoop\ExtEventLoop
             case EventInterface::EV_SIGNAL:
                 return $this->removeSignal($fd);
             case EventInterface::EV_TIMER:
-            case EventInterface::EV_TIMER_ONCE;
+            case EventInterface::EV_TIMER_ONCE:
                 if (isset($this->_timerIdMap[$fd])){
                     $timer_obj = $this->_timerIdMap[$fd];
                     unset($this->_timerIdMap[$fd]);