Commit 7f1e4b13 authored by Guillaume Seguin's avatar Guillaume Seguin

Don't report same-thread calling exceptions in pause()

parent 8538a658
......@@ -400,6 +400,11 @@ class printcore():
# might be calling it from the thread itself
try:
self.print_thread.join()
except RuntimeError, e:
if e.message == "cannot join current thread":
pass
else:
traceback.print_exc()
except:
traceback.print_exc()
......
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