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