remove event watch on close (#964)

This commit is contained in:
Logan McNaughton authored and GitHub committed 2026-05-27 16:24:25 +00:00
1 parent 81a3cea9c7
commit 14b973ec5f
1 file changed
+2
+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,