Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function stop () {
if (!running) {
return;
}
running = false;
clearEvents();
Gc.removeListener('gc', gcEventHandler);
}