Print a warning on low memory event
This commit is contained in:
parent
a82784ab8e
commit
20ed2ad277
@ -181,6 +181,10 @@ bool EventHandler::OnEvent (const SEvent &event)
|
||||
SFXManager::get()->resumeAll();
|
||||
}
|
||||
}
|
||||
else if (cmd == APP_CMD_LOW_MEMORY)
|
||||
{
|
||||
Log::warn("EventHandler", "Low memory event received");
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user