Threads created by SDL2 must be either waited for or detached.
---
src/Mepo.zig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Mepo.zig b/src/Mepo.zig
index b8f9fe3bc4a9..0be4fd63dd70 100644
--- a/src/Mepo.zig
+++ b/src/Mepo.zig
@@ -469,7 +469,7 @@ pub fn init_video_and_sdl_stdin_loop(mepo: *@This(), enable_stdin_mepolang_repl:
"Mepo_SDL_Thread",
mepo,
);
- _ = thread;
+ sdl.SDL_DetachThread(thread);
while (true) {
const stdin = &std.io.getStdIn().reader();
--
2.45.1
Thanks for the catch on this by the way - applied.