Skip to content

Commit 4450cd2

Browse files
martinRenouSteven Silvester
authored andcommitted
Shutdown terminals on api/shutdown
1 parent 887aeb7 commit 4450cd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jupyter_server/services/shutdown.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class ShutdownHandler(JupyterHandler):
1111
async def post(self):
1212
self.log.info("Shutting down on /api/shutdown request.")
1313

14+
await self.terminal_manager.terminate_all()
1415
await self.kernel_manager.shutdown_all()
1516

1617
ioloop.IOLoop.current().stop()

0 commit comments

Comments
 (0)