diff --git a/src/Worker.php b/src/Worker.php index c1f740c7b..0a87ca4b1 100644 --- a/src/Worker.php +++ b/src/Worker.php @@ -113,7 +113,7 @@ public function handle(Request $request, RequestContext $context): void // After the request handling process has completed we will unset some variables // plus reset the current application state back to its original state before // it was cloned. Then we will be ready for the next worker iteration loop. - unset($gateway, $sandbox, $request, $response, $octaneResponse, $output); + unset($gateway, $sandbox, $context, $request, $response, $octaneResponse, $output); CurrentApplication::set($this->app); }