Shut down the proxy. This method is thread-safe.
(self)
| 94 | await self.done() |
| 95 | |
| 96 | def shutdown(self): |
| 97 | """ |
| 98 | Shut down the proxy. This method is thread-safe. |
| 99 | """ |
| 100 | # We may add an exception argument here. |
| 101 | self.event_loop.call_soon_threadsafe(self.should_exit.set) |
| 102 | |
| 103 | async def running(self) -> None: |
| 104 | await self.addons.trigger_event(hooks.RunningHook()) |
no outgoing calls