mirror of
https://github.com/danog/amp.git
synced 2024-11-30 04:29:08 +01:00
Fix #132 (TypeError calling Driver::disable())
This commit is contained in:
parent
03d1630b69
commit
4fe48c8aec
@ -49,7 +49,7 @@ class UvDriver extends Driver {
|
||||
|
||||
default: // Disable all related watchers and notify the loop error handler.
|
||||
foreach ($watchers as $watcher) {
|
||||
$this->disable($watcher);
|
||||
$this->disable($watcher->id);
|
||||
}
|
||||
$this->error(new \Error(
|
||||
\sprintf("UV_%s: %s", \uv_err_name($status), \ucfirst(\uv_strerror($status)))
|
||||
|
Loading…
Reference in New Issue
Block a user