Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 5b54333

Browse files
committed
Fix shutdown.
1 parent 7f75edb commit 5b54333

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jupyter_dash/jupyter_app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ def run_server(
220220
old_server = self._server_threads.get((host, port))
221221
if old_server:
222222
old_server.kill()
223+
old_server.join()
224+
del self._server_threads[(host, port)]
223225

224226
# Configure pathname prefix
225227
requests_pathname_prefix = self.config.get('requests_pathname_prefix', None)

0 commit comments

Comments
 (0)