Browse Source

Update Event.php

walkor 4 years ago
parent
commit
45ec8f73cd
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Events/Event.php

+ 1 - 3
Events/Event.php

@@ -202,9 +202,7 @@ class Event implements EventInterface
      */
     public function destroy()
     {
-        foreach ($this->_eventSignal as $event) {
-            $event->del();
-        }
+        $this->_eventBase->exit();
     }
 
     /**