1
0
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:
Daniel Lowrey 2014-08-06 14:33:27 -04:00
parent 0dfac49cd2
commit f040981bdf

View File

@ -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;