Explorar o código

Update Libevent.php

walkor %!s(int64=9) %!d(string=hai) anos
pai
achega
b92ea61a6a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Events/Libevent.php

+ 4 - 0
Events/Libevent.php

@@ -191,6 +191,10 @@ class Libevent implements EventInterface
         {
             echo $e;
         }
+        if($this->_eventTimer[$timer_id][3] === self::EV_TIMER_ONCE)
+        {
+            $this->del($timer_id, self::EV_TIMER_ONCE);
+        }
     }
     
     /**