mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 08:10:50 +01:00
[poincare] When memory exception, stay in the app and display popup
This commit is contained in:
@@ -14,8 +14,8 @@ Container::~Container() {
|
||||
}
|
||||
}
|
||||
|
||||
void Container::switchTo(App::Snapshot * snapshot) {
|
||||
if (m_activeApp && snapshot == m_activeApp->snapshot()) {
|
||||
void Container::switchTo(App::Snapshot * snapshot, bool forceSwitch) {
|
||||
if (!forceSwitch && m_activeApp && snapshot == m_activeApp->snapshot()) {
|
||||
return;
|
||||
}
|
||||
if (m_activeApp) {
|
||||
|
||||
Reference in New Issue
Block a user