summaryrefslogtreecommitdiff
path: root/plugin_loader/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugin_loader/plugin.py')
-rw-r--r--plugin_loader/plugin.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin_loader/plugin.py b/plugin_loader/plugin.py
index 0f8880f3..88857797 100644
--- a/plugin_loader/plugin.py
+++ b/plugin_loader/plugin.py
@@ -73,10 +73,7 @@ class PluginWrapper:
def start(self):
if self.passive:
return self
- get_event_loop().run_in_executor(
- ProcessPoolExecutor(),
- self._init
- )
+ ProcessPoolExecutor().submit(self._init, self)
return self
def stop(self):