Only reject RUN_ON_MAIN_THREAD events on quit
Use SDL_PeepEvents() to consume only SC_EVENT_RUN_ON_MAIN_THREAD events. Other events are not dropped and can still be processed later. PR #6662 <https://github.com/Genymobile/scrcpy/pull/6662>
R
Romain Vimont committed
1da65bbc982e0ef042f8d8a79367bb9053040ba9
Parent: 02949e7