mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 05:12:29 +00:00
Fix workers on windows taking a long time to exit (#11271)
This commit is contained in:
@@ -190,6 +190,7 @@ pub const WebWorker = struct {
|
||||
fn deinit(this: *WebWorker) void {
|
||||
log("[{d}] deinit", .{this.execution_context_id});
|
||||
this.parent_poll_ref.unrefConcurrently(this.parent);
|
||||
this.parent.event_loop_handle.?.wakeup();
|
||||
bun.default_allocator.free(this.specifier);
|
||||
bun.default_allocator.destroy(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user