remove event watch on close (#964)

This commit is contained in:
Logan McNaughton
2026-05-27 16:24:25 +00:00
committed by GitHub
parent 81a3cea9c7
commit 14b973ec5f
+2
View File
@@ -446,6 +446,8 @@ void rdp_close() {
delete wsi_platform;
wsi_platform = nullptr;
}
SDL_RemoveEventWatch(sdl_event_filter, nullptr);
}
static void calculate_viewport(float *x, float *y, float *width, float *height,