contentpack removal feature + refactor
This commit is contained in:
@@ -149,6 +149,9 @@ void Engine::mainloop() {
|
||||
|
||||
Engine::~Engine() {
|
||||
std::cout << "-- shutting down" << std::endl;
|
||||
if (screen) {
|
||||
screen->onEngineShutdown();
|
||||
}
|
||||
screen.reset();
|
||||
content.reset();
|
||||
assets.reset();
|
||||
|
||||
Reference in New Issue
Block a user