Fix calling SDL_DestroySemaphore on mutex
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
01d878f933
commit
217d539ff7
|
@ -613,7 +613,7 @@ pub fn runGraphics(comptime Errors: anytype, run: GraphicsRunner(Errors)) Errors
|
||||||
|
|
||||||
defer {
|
defer {
|
||||||
ext.SDL_DestroyThread(event_loop.file_system_thread);
|
ext.SDL_DestroyThread(event_loop.file_system_thread);
|
||||||
ext.SDL_DestroySemaphore(event_loop.file_system_mutex);
|
ext.SDL_DestroyMutex(event_loop.file_system_mutex);
|
||||||
ext.SDL_DestroySemaphore(event_loop.file_system_semaphore);
|
ext.SDL_DestroySemaphore(event_loop.file_system_semaphore);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue