Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit db810ce

Browse files
authored
Merge pull request #381 from geneccx/fix-app-leak
Fix memory leak - clear context after disabling sandbox
2 parents e0e4c38 + 3cf0cd9 commit db810ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server/Sandbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ public function enable()
324324
*/
325325
public function disable()
326326
{
327-
Context::clear();
328327
$this->setInstance($this->getBaseApp());
328+
Context::clear();
329329
}
330330

331331
/**

0 commit comments

Comments
 (0)