Commit 025a5a7b authored by fsantini's avatar fsantini

Fix exception with join thread in print

parent 95005286
...@@ -344,7 +344,9 @@ class printcore(): ...@@ -344,7 +344,9 @@ class printcore():
self.sentlines = {} self.sentlines = {}
self.log = [] self.log = []
self.sent = [] self.sent = []
self.print_thread.join() try:
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment