diff --git a/Connection.php b/Connection.php index 07b32f0..d30cf1a 100644 --- a/Connection.php +++ b/Connection.php @@ -93,7 +93,6 @@ class Connection extends Component */ public function init() { - $this->eventProvider->on(OnWorkerStop::class, [$this, 'clear_connection'], 0); $this->eventProvider->on(OnWorkerExit::class, [$this, 'clear_connection'], 0); $this->eventProvider->on(BeginTransaction::class, [$this, 'beginTransaction'], 0); $this->eventProvider->on(Rollback::class, [$this, 'rollback'], 0);