- hided the main UI on application quit to create a user experience of a shutdown without lag
- added a way to terminate QThreads safely by waiting; should be much safer - made sure that the ArgsThread class receive the signal to stop - made sure that on application shutdown, all workers will quit before the actual exit
This commit is contained in:
@@ -53,8 +53,8 @@ class TclCommand(object):
|
||||
if self.app is None:
|
||||
raise TypeError('Expected app to be appMain instance.')
|
||||
|
||||
if not isinstance(self.app, appMain.App):
|
||||
raise TypeError('Expected appMain, got %s.' % type(app))
|
||||
# if not isinstance(self.app, appMain.App):
|
||||
# raise TypeError('Expected appMain, got %s.' % type(app))
|
||||
|
||||
self.log = self.app.log
|
||||
self.error_info = None
|
||||
|
||||
Reference in New Issue
Block a user