hapijs / catbox

Multi-strategy object caching service
Other
494 stars 72 forks source link

Unref timers in policy to allow exit when run as script #159

Closed dkavassy closed 8 years ago

dkavassy commented 8 years ago

Timers prevent the script from exiting after the execution of the main thread has finished. This PR fixes it by not requiring the timers to fire before the script can exit.

hueniverse commented 8 years ago

We should properly clean timers, not unreference them.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.