Skip to content

Commit

Permalink
fix plugin destruct
Browse files Browse the repository at this point in the history
  • Loading branch information
liborm85 committed Mar 19, 2020
1 parent fa7a0ad commit ba9ab70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Plugin implements PluginInterface, EventSubscriberInterface

public function __destruct()
{
if (!$this->cleaner && !$this->isCleaningFinished) {
if ($this->cleaner && !$this->isCleaningFinished) {
$this->cleaner->finishCleanup();
}
}
Expand Down

0 comments on commit ba9ab70

Please sign in to comment.