This commit is contained in:
2021-02-20 13:25:09 +08:00
parent 9a83643878
commit 497c0b3eec
2 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -104,9 +104,7 @@ class Node extends Application
*/
public function afterDispatch($response = null): mixed
{
return Coroutine::create(function ($request, $response) {
(Reduce::after($this->_after))($request, $response);
}, \request(), $response);
return (Reduce::after($this->_after))(\request(), $response);
}