From 013483b1cfee6cc120e859a24d54477937d1c950 Mon Sep 17 00:00:00 2001 From: "ran.liao" Date: Thu, 15 Jan 2026 13:57:52 +0900 Subject: [PATCH 1/2] Mark background thread as daemon --- python/mujinwebstackclient/controllerwebclientraw.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/mujinwebstackclient/controllerwebclientraw.py b/python/mujinwebstackclient/controllerwebclientraw.py index 0c720ba..83c6169 100644 --- a/python/mujinwebstackclient/controllerwebclientraw.py +++ b/python/mujinwebstackclient/controllerwebclientraw.py @@ -114,6 +114,7 @@ class BackgroundThread(object): def __init__(self): self._eventLoopReadyEvent = threading.Event() self._thread = threading.Thread(target=self._RunEventLoop) + self._thread.daemon = True # daemon thread; won't block the process from exiting self._thread.start() # block and wait for the signal to make sure the event loop is created and set in the _thread self._eventLoopReadyEvent.wait() From a19f024981dbc869a6857917119b270c87e5792e Mon Sep 17 00:00:00 2001 From: "ran.liao" Date: Thu, 15 Jan 2026 13:59:28 +0900 Subject: [PATCH 2/2] update change log --- CHANGELOG.md | 6 ++++++ python/mujinwebstackclient/version.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5a9ed6..9c23d8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.9.28 (2026-01-15) + +### Changes + +- Mark the background thread as deamon so that it won't block the process from exiting. + ## 0.9.27 (2026-01-14) ### Changes diff --git a/python/mujinwebstackclient/version.py b/python/mujinwebstackclient/version.py index b008342..f3a742f 100644 --- a/python/mujinwebstackclient/version.py +++ b/python/mujinwebstackclient/version.py @@ -1,3 +1,3 @@ -__version__ = '0.9.27' +__version__ = '0.9.28' # Do not forget to update CHANGELOG.md