Skip to content

Commit

Permalink
fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
luoxiaojun committed Oct 26, 2020
1 parent fe8dc27 commit 1418d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function getApp($request)

$application = static::createApp();

$oldApp->forgetInstance('app');
$oldApp->flush();

/** @var Kernel $kernel */
$kernel = $application->make(Kernel::class);
Expand Down

0 comments on commit 1418d35

Please sign in to comment.