Skip to content

Commit 4dce0f8

Browse files
committed
remove uv_unref call to timer as this causes a SIGABRT on php shutdown
1 parent 789e683 commit 4dce0f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LibUvLoop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function addPeriodicTimer($interval, callable $callback)
131131
public function cancelTimer(TimerInterface $timer)
132132
{
133133
uv_timer_stop($this->timers[$timer]);
134-
uv_unref($this->timers[$timer]);
134+
135135
$this->timers->detach($timer);
136136
}
137137

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy