Hi,
I have an application in SDL2 to share your screen using the airplay protocol. So to share I have created a class in which I created a SDL_Texture, SDL_Renderer and SDL_Window to show the rendered frames. But when I disconnect my iPhone/iPad and the SDL_DestroyWindow is called, the application is getting stuck. If I debug it, the texture and renderer destroy functions are called but as soon as the SDL_DestroyWindow function is called, the app gets stuck.
The app gets stuck on the last frame.
Any help is appreciated. Thanks.