##// END OF EJS Templates
Clear inputhook after printing exception information....
Fernando Perez -
Show More
@@ -98,10 +98,10 b' def create_inputhook_qt4(mgr, app=None):'
98 98 mgr.clear_inputhook()
99 99 except: # NO exceptions are allowed to escape from a ctypes callback
100 100 ignore_CTRL_C()
101 mgr.clear_inputhook()
102 101 from traceback import print_exc
103 102 print_exc()
104 103 print("Got exception from inputhook_qt4, unregistering.")
104 mgr.clear_inputhook()
105 105 finally:
106 106 allow_CTRL_C()
107 107 return 0
General Comments 0
You need to be logged in to leave comments. Login now