Skip to content

Commit 5e3780e

Browse files
committed
[JupyROOT][8055] Make poller thread a daemon
As explained in 8055, it can otherwise keep a process spawned from the kernel process from finishing.
1 parent fcc92bd commit 5e3780e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bindings/jupyroot/python/JupyROOT/helpers/handlers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def GetStreamsDicts(self):
7777
class Poller(Thread):
7878
def __init__(self):
7979
Thread.__init__(self, group=None, target=None, name="JupyROOT Poller Thread")
80+
self.daemon = True
8081
self.poll = True
8182
self.is_running = False
8283
self.queue = queue.Queue()

0 commit comments

Comments
 (0)