mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
[apps/code] Check that app can be exited before switching to DFU
This fixes the following crash: create a script which contains only "input()". Execute it, then while in the input, plug in the calculator. When un-plugging it, the device crashes.
This commit is contained in:
committed by
EmilieNumworks
parent
1782326ed8
commit
58f94f5e5f
@@ -88,6 +88,7 @@ App::App(Container * container, Snapshot * snapshot) :
|
||||
}
|
||||
|
||||
App::~App() {
|
||||
assert(!m_consoleController.inputRunLoopActive());
|
||||
deinitPython();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user