mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.event.Loop: fix regression with ResetEvent
This commit is contained in:
parent
8fc765387f
commit
4cc4b54d25
@ -164,9 +164,10 @@ pub const Loop = struct {
|
||||
.fs_end_request = .{ .data = .{ .msg = .end, .finish = .NoAction } },
|
||||
.fs_queue = std.atomic.Queue(Request).init(),
|
||||
.fs_thread = undefined,
|
||||
.fs_thread_wakeup = std.ResetEvent.init(),
|
||||
.fs_thread_wakeup = undefined,
|
||||
.delay_queue = undefined,
|
||||
};
|
||||
try self.fs_thread_wakeup.init();
|
||||
errdefer self.fs_thread_wakeup.deinit();
|
||||
errdefer self.arena.deinit();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user