Fix exception with join thread in print
parent
9500528676
commit
025a5a7bd6
|
@ -344,7 +344,9 @@ class printcore():
|
|||
self.sentlines = {}
|
||||
self.log = []
|
||||
self.sent = []
|
||||
try:
|
||||
self.print_thread.join()
|
||||
except: pass
|
||||
self.print_thread = None
|
||||
if self.endcb:
|
||||
#callback for printing done
|
||||
|
|
Loading…
Reference in New Issue