[core:thread] Fix compilation

This commit is contained in:
hikari
2023-06-07 20:03:19 +03:00
parent dcf4e51787
commit 7b62b81ebd
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -69,6 +69,8 @@ _create :: proc(procedure: Thread_Proc, priority: Thread_Priority) -> ^Thread {
if t.self_cleanup {
t.unix_thread = {}
// NOTE(ftphikari): It doesn't matter which context 'free' received, right?
context = {}
free(t, t.creation_allocator)
}