Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #381 from geneccx/fix-app-leak
Browse files Browse the repository at this point in the history
Fix memory leak - clear context after disabling sandbox
  • Loading branch information
albertcht authored Mar 29, 2020
2 parents e0e4c38 + 3cf0cd9 commit db810ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Server/Sandbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ public function enable()
*/
public function disable()
{
Context::clear();
$this->setInstance($this->getBaseApp());
Context::clear();
}

/**
Expand Down

0 comments on commit db810ce

Please sign in to comment.