File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,10 @@ def jinja_template_vars(self):
212212 """User-supplied values to supply to jinja templates."""
213213 return self .settings .get ("jinja_template_vars" , {})
214214
215+ @property
216+ def serverapp (self ):
217+ return self .settings ["serverapp" ]
218+
215219 # ---------------------------------------------------------------
216220 # URLs
217221 # ---------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class ShutdownHandler(JupyterHandler):
1111 async def post (self ):
1212 self .log .info ("Shutting down on /api/shutdown request." )
1313
14- await self ._cleanup ()
14+ await self .serverapp . _cleanup ()
1515
1616 ioloop .IOLoop .current ().stop ()
1717
You can’t perform that action at this time.
0 commit comments