Fix calling SDL_DestroySemaphore on mutex
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kayomn 2022-10-03 23:39:03 +01:00
parent 01d878f933
commit 217d539ff7
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }