Hi,
I have a running standalone (ensymbled) app on the phone. I switch to some othe app (e.g. fexplorer), then I come back to my app. When I try to exit I get the mentioned panic.
I test this issue on a really simple app now, like
My guess it has something to do with background / foreground switching, but I don't event know if there is some callback informing my app of the switch event?Code:import appuifw, e32 def exit_key_handler(): app_lock.signal() appuifw.app.exit_key_handler = exit_key_handler appuifw.app.title = u'whatever' appuifw.app.body = appuifw.Text() app_lock = e32.Ao_lock() app_lock.wait() appuifw.app.set_exit()
Thanks very much for any possible interest![]()

Reply With Quote

oExit()" method in file "Python_appui.cpp" seems to solve the problem at least in emulator (before the "finalizeappuifw" call).

