Exit after run to prevent hanging if there are active listeners

This commit is contained in:
Dave Hadka committed 2020-07-14 11:49:23 -05:00
1 parent eed9cfe64d
commit 0b0791e3bf
4 files changed
+97208 -8554

No files matched your search

+48595 -4268
View File
File diff suppressed because it is too large. Load diff
+48611 -4284
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -60,6 +60,6 @@ async function run(): Promise<void> {
} }
} }
run(); run().then(() => process.exit(0));
export default run; export default run;
+1 -1
View File
@@ -51,6 +51,6 @@ async function run(): Promise<void> {
} }
} }
run(); run().then(() => process.exit(0));
export default run; export default run;