{LYN-4372} fix for Python exit crash (#1600)
There is a crash when sys.exit() was being called since embedded Python should not have control of the application lifetime. The Py_InspectFlag puts the Python VM into 'inspection mode' which prevents the app shutdown when any sys.exit() is invoked. Notes: * skips 'regset' extra command line in PythonBindingsExample * added methods for handling PythonBindingsExample errors Test: added Application_SystemExit_Blocked and fixed up Application_Run_Fails now is Application_Run_Worksmain
parent
9d9ff751b6
commit
580bd11715
Loading…
Reference in New Issue