diff options
| author | powerc9000 <clay.murray8@gmail.com> | 2021-12-09 13:03:27 -0700 |
|---|---|---|
| committer | powerc9000 <clay.murray8@gmail.com> | 2022-01-27 15:38:16 -0700 |
| commit | 2f3c5336d95be028fac795fe75b70fc271b15800 (patch) | |
| tree | 8f9a98b2543103e647eba3921b59f212ded0fcd0 /core/thread | |
| parent | 38249372957db6a84151d14def3f50c02fe585b5 (diff) | |
Fix mutex and conditions trying to be destroyed twice in unix
Diffstat (limited to 'core/thread')
| -rw-r--r-- | core/thread/thread_unix.odin | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/thread/thread_unix.odin b/core/thread/thread_unix.odin index cee278c7a..6cb91df86 100644 --- a/core/thread/thread_unix.odin +++ b/core/thread/thread_unix.odin @@ -167,8 +167,6 @@ _join_multiple :: proc(threads: ..^Thread) { _destroy :: proc(t: ^Thread) { _join(t) - sync.condition_destroy(&t.start_gate) - sync.mutex_destroy(&t.start_mutex) t.unix_thread = {} free(t, t.creation_allocator) } |