Skip to content

Commit 90dc15d

Browse files
committed
Remove wrongly placed event_bus.stop()
The intend of this was to stop the endpoint of an isolated plugin. However, this code runs in the main process so at best it doesn't do anything useful. The real endpoint.stop() is taken care of from inside the plugin, running inside the other process.
1 parent 977a446 commit 90dc15d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

trinity/extensibility/plugin.py

-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ def _prepare_start(self) -> None:
315315
self.do_start()
316316

317317
def do_stop(self) -> None:
318-
self.context.event_bus.stop()
319318
kill_process_gracefully(self._process, self.logger)
320319

321320

0 commit comments

Comments
 (0)