Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibreSprite/LibreSprite
/ ~SDL2System
Method
~SDL2System
src/she/sdl2/she.cpp:639–647 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
637
}
638
639
~SDL2System() {
640
shutdown = true;
641
sleeping = false;
642
if (mainThread.joinable())
643
mainThread.join();
644
IMG_Quit();
645
SDL_Quit();
646
g_instance = nullptr;
647
}
648
649
bool shutdown{false};
650
std::thread mainThread;
Callers
nothing calls this directly
Calls
2
joinable
Method · 0.80
join
Method · 0.80
Tested by
no test coverage detected