fix: prevent window trash processing in confirmationDialog()
Fixes "use after free" when confirmationDialog() is used in a menu handler.
This commit is contained in:
@@ -147,7 +147,7 @@ static void run_ui_manually()
|
|||||||
|
|
||||||
RTOS_WAIT_MS(10);
|
RTOS_WAIT_MS(10);
|
||||||
LvglWrapper::runNested();
|
LvglWrapper::runNested();
|
||||||
MainWindow::instance()->run();
|
MainWindow::instance()->run(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FullScreenDialog::runForever()
|
void FullScreenDialog::runForever()
|
||||||
|
|||||||
Reference in New Issue
Block a user