EV events on destroy error
webrobot1 opened this issue · comments
workerman version 4 has error at code
public function destroy()
{
foreach ($this->_allEvents as $event) {
$event->stop();
}
}
it cant be work bacause structure of $this->_allEvents it is 2 levels's array like at code
$this->_allEvents[$fd_key][$flag] = $event;
maybe it need stoop $this->_eventSignal or what ?
Fixed and thank you for your post.