Skip to content

Commit fe71878

Browse files
martinRenoudavidbrochart
authored andcommitted
Call cleanup on api/shutdown
Co-authored-by: David Brochart <[email protected]>
1 parent 4450cd2 commit fe71878

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jupyter_server/services/shutdown.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +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()
15-
await self.kernel_manager.shutdown_all()
14+
await self._cleanup()
1615

1716
ioloop.IOLoop.current().stop()
1817

0 commit comments

Comments
 (0)