| author | |
| committer | |
| log | 86a428a4a52172df5e49436212e9f769248e0b15 |
| tree | ddec7766cac828854110b90d7af407ee13ef0449 |
| parent | 3a8dc4e90ddf6b3dc2bdf640c89061c00eee7d45 |
1 files changed, 1 insertions(+), 0 deletions(-)
std/os/index.zig+1| ... | ... | @@ -2477,6 +2477,7 @@ pub const Thread = struct { |
| 2477 | 2477 | }, |
| 2478 | 2478 | builtin.Os.windows => { |
| 2479 | 2479 | assert(windows.WaitForSingleObject(self.data.handle, windows.INFINITE) == windows.WAIT_OBJECT_0); |
| 2480 | assert(windows.CloseHandle(self.data.handle) != 0); | |
| 2480 | 2481 | assert(windows.HeapFree(self.data.heap_handle, 0, self.data.alloc_start) != 0); |
| 2481 | 2482 | }, |
| 2482 | 2483 | else => @compileError("Unsupported OS"), |