fix: prevent window trash processing in confirmationDialog()

Fixes "use after free" when confirmationDialog() is used in a menu handler.
This commit is contained in:
Raphael Coeffic
2022-09-20 08:07:09 +02:00
parent d6764ca0f8
commit e8f9f646e0
+1 -1
View File
@@ -147,7 +147,7 @@ static void run_ui_manually()
RTOS_WAIT_MS(10);
LvglWrapper::runNested();
MainWindow::instance()->run();
MainWindow::instance()->run(false);
}
void FullScreenDialog::runForever()