Skip to content

Commit

Permalink
Merge pull request #9 from ar026/patch-1
Browse files Browse the repository at this point in the history
修正 clearAll 未重置 timerMap 的bug
  • Loading branch information
kiss291323003 authored Mar 8, 2019
2 parents ad3deff + 9ebf6ca commit 850d422
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Timer.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function clearAll(): bool
swoole_timer_clear($id);
}
$this->timerList = [];
$this->timerMap = [];
return true;
}

Expand Down

0 comments on commit 850d422

Please sign in to comment.