Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 737a41f

Browse files
committed
Call terminate on main app
1 parent b130397 commit 737a41f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Stack/UrlMap.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,9 @@ public function terminate(Request $request, Response $response)
8080
$app->terminate($request, $response);
8181
}
8282
}
83+
84+
if ($this->app instanceof TerminableInterface) {
85+
$this->app->terminate($request, $response);
86+
}
8387
}
8488
}

0 commit comments

Comments
 (0)