Fix issue with server not starting before exiting

This commit is contained in:
Jarred Sumner
2022-09-16 22:36:06 -07:00
parent 681f5a521f
commit bd77afb2df
3 changed files with 10 additions and 2 deletions

View File

@@ -1456,6 +1456,10 @@ pub const VirtualMachine = struct {
this.waitForPromise(promise);
if (this.eventLoop().start_server_on_next_tick) {
this.enterUWSLoop();
}
return promise;
}