mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 03:18:53 +00:00
Fix issue with server not starting before exiting
This commit is contained in:
@@ -1456,6 +1456,10 @@ pub const VirtualMachine = struct {
|
||||
|
||||
this.waitForPromise(promise);
|
||||
|
||||
if (this.eventLoop().start_server_on_next_tick) {
|
||||
this.enterUWSLoop();
|
||||
}
|
||||
|
||||
return promise;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user