mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
SDL: Fix use after free on shutdown
This commit is contained in:
parent
98f593fd5d
commit
6a3856674c
1 changed files with 1 additions and 1 deletions
|
@ -457,9 +457,9 @@ static void EmuThreadFunc(GraphicsContext *graphicsContext) {
|
|||
UpdateRunLoop();
|
||||
}
|
||||
emuThreadState = (int)EmuThreadState::STOPPED;
|
||||
graphicsContext->StopThread();
|
||||
|
||||
NativeShutdownGraphics();
|
||||
graphicsContext->StopThread();
|
||||
}
|
||||
|
||||
static void EmuThreadStart(GraphicsContext *context) {
|
||||
|
|
Loading…
Add table
Reference in a new issue