Commit c3f7e4c1 authored by Kaz Walker's avatar Kaz Walker

[printcore] Have pirnt_thread rejoin execution thread once print completes.

parent 80d465c2
...@@ -289,6 +289,8 @@ class printcore(): ...@@ -289,6 +289,8 @@ class printcore():
self.sentlines = {} self.sentlines = {}
self.log = [] self.log = []
self.sent = [] self.sent = []
self.print_thread.join()
self.print_thread = None
if self.endcb: if self.endcb:
#callback for printing done #callback for printing done
try: self.endcb() try: self.endcb()
......
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