File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ async def _activate_dispatcher(self) -> None:
201
201
202
202
async def _deactivate_dispatcher (self ) -> None : # pragma: no cover
203
203
# for some reason this isn't getting run during testing
204
- self ._dispatch_daemon_future .cancel (f" { self } is shutting down" )
204
+ self ._dispatch_daemon_future .cancel ()
205
205
await asyncio .wait ([self ._dispatch_daemon_future ])
206
206
207
207
async def _run_dispatcher (
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ async def _activate_dispatcher(
205
205
async def _deactivate_dispatcher (
206
206
self , app : Sanic , loop : asyncio .AbstractEventLoop
207
207
) -> None :
208
- self ._dispatch_daemon_future .cancel (f" { self } is shutting down" )
208
+ self ._dispatch_daemon_future .cancel ()
209
209
await asyncio .wait ([self ._dispatch_daemon_future ])
210
210
211
211
async def _run_dispatcher (
You can’t perform that action at this time.
0 commit comments