diff options
| author | marios8543 <marios8543@gmail.com> | 2023-10-18 15:34:25 +0300 |
|---|---|---|
| committer | marios8543 <marios8543@gmail.com> | 2023-10-18 15:34:25 +0300 |
| commit | 934b1b35ad2ab2743a9d55de21eea73a54df72b9 (patch) | |
| tree | b0b309dbc08cc4e0979db48ee8d7303d49b11c2a | |
| parent | 88250b3e20a6635bb1e14d4033f8e5be8ef19c6f (diff) | |
| download | decky-loader-934b1b35ad2ab2743a9d55de21eea73a54df72b9.tar.gz decky-loader-934b1b35ad2ab2743a9d55de21eea73a54df72b9.zip | |
fix start/stop methods
| -rw-r--r-- | backend/src/plugin/plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/src/plugin/plugin.py b/backend/src/plugin/plugin.py index a1b43ba9..a0f926cd 100644 --- a/backend/src/plugin/plugin.py +++ b/backend/src/plugin/plugin.py @@ -65,14 +65,14 @@ class PluginWrapper: return await request.wait_for_result() - async def start(self): + def start(self): if self.passive: return self Process(target=self.sandboxed_plugin.initialize, args=[self._socket]).start() self.listener_task = create_task(self._response_listener()) return self - async def stop(self): + def stop(self): self._listener_task.cancel() async def _(self: PluginWrapper): await self._socket.write_single_line(dumps({ "stop": True }, ensure_ascii=False)) |
