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):
212
212
"""User-supplied values to supply to jinja templates."""
213
213
return self .settings .get ("jinja_template_vars" , {})
214
214
215
+ @property
216
+ def serverapp (self ):
217
+ return self .settings ["serverapp" ]
218
+
215
219
# ---------------------------------------------------------------
216
220
# URLs
217
221
# ---------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class ShutdownHandler(JupyterHandler):
11
11
async def post (self ):
12
12
self .log .info ("Shutting down on /api/shutdown request." )
13
13
14
- await self ._cleanup ()
14
+ await self .serverapp . _cleanup ()
15
15
16
16
ioloop .IOLoop .current ().stop ()
17
17
You can’t perform that action at this time.
0 commit comments