remove event watch on close (#964)
This commit is contained in:
parent
81a3cea9c7
commit
14b973ec5f
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user