Browse Source

Update LibEventLoop.php

walkor 7 năm trước cách đây
mục cha
commit
87908b251d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Events/React/LibEventLoop.php

+ 1 - 1
Events/React/LibEventLoop.php

@@ -99,7 +99,7 @@ class LibEventLoop extends \React\EventLoop\LibEventLoop
             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]);