~mil/mepo-devel

mepo: Fix SDL thread leak v1 APPLIED

Nguyễn Gia Phong: 1
 Fix SDL thread leak

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mil/mepo-devel/patches/53776/mbox | git am -3
Learn more about email & git

[PATCH mepo] Fix SDL thread leak Export this patch

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