Skip to content

Commit d02350e

Browse files
committed
Reinstated process.exit(0) in the SIGINT handler
1 parent e4d4268 commit d02350e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rpc/musichoardersFetcher.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class MusicHoardersFetcher
6262
process.on('SIGINT', () => {
6363
// Save the cache to the file when the application is terminated using SIGINT (Ctrl+C)
6464
this.#saveCacheToFile();
65+
process.exit(0); // Otherwise won't exit
6566
});
6667
}
6768
}

0 commit comments

Comments
 (0)