mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-10 17:56:26 +00:00
Fix accidental removal of decoder deletion in previous commit
This commit is contained in:
@@ -270,6 +270,8 @@ int Session::getDecoderCapabilities(StreamingPreferences::VideoDecoderSelection
|
||||
|
||||
int caps = decoder->getDecoderCapabilities();
|
||||
|
||||
delete decoder;
|
||||
|
||||
// This must be called after the decoder is deleted, because
|
||||
// the renderer may want to interact with the window
|
||||
SDL_DestroyWindow(window);
|
||||
|
||||
Reference in New Issue
Block a user