Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear remove idle timer after destroyAllNow
This keeps track of the remove idle timer and will clear the timer when destroyAllNow is called, as after all clients are destroyed there is no need to check for idle clients any longer. Without clearing the timer, a program may have called destroyAllNow because it was about to exit, but if the remove idle timer still exists, the event loop will continue running until at most realIntervalMillis.
- Loading branch information
1 parent
df2579e
commit 173236a
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters