mirror of
https://github.com/danog/amp.git
synced 2024-11-27 04:24:42 +01:00
Fixed bad callback declaration in UvReactor::onSignal watchers
This commit is contained in:
parent
0dfac49cd2
commit
f040981bdf
@ -276,7 +276,7 @@ class UvReactor implements SignalReactor {
|
||||
$watcher->callback = $this->wrapSignalCallback($watcher, $onSignal);
|
||||
$watcher->isEnabled = true;
|
||||
|
||||
uv_signal_start($watcher->uvStruct, $watcher->uvStruct, $watcher->signo);
|
||||
uv_signal_start($watcher->uvStruct, $watcher->callback, $watcher->signo);
|
||||
|
||||
$this->watchers[$watcher->id] = $watcher;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user