mirror of
https://github.com/jwetzell/aas-js.git
synced 2026-08-10 15:13:39 +00:00
clear update timeout on interrupt signal
This commit is contained in:
@@ -111,6 +111,7 @@ const initializeInterval = setInterval(() => {
|
||||
|
||||
process.on('SIGINT', () => {
|
||||
console.log('app: shutting down');
|
||||
clearTimeout(updateTimeout);
|
||||
clearInterval(initializeInterval);
|
||||
if (ws) {
|
||||
if (ws.clients) {
|
||||
|
||||
Reference in New Issue
Block a user