vericast / spylon

Utilities to work with Scala/Java code with py4j
https://maxpoint.github.io/spylon/
BSD 3-Clause "New" or "Revised" License
40 stars 16 forks source link

Daemonize the progress thread #32

Closed parente closed 7 years ago

parente commented 7 years ago

As it stands, if the main thread throws an exception and wants to exit, the progress thread keeps the process alive because it's a non-daemon thread.

This is a simple thread.daemon=True change in progress.py, but I want to test to make sure it's not going to have other unintended side effects.