改名
This commit is contained in:
@@ -39,8 +39,6 @@ class OnRequest extends Callback
|
|||||||
try {
|
try {
|
||||||
Coroutine::defer(function () {
|
Coroutine::defer(function () {
|
||||||
fire(Event::EVENT_AFTER_REQUEST, [$sRequest ?? null]);
|
fire(Event::EVENT_AFTER_REQUEST, [$sRequest ?? null]);
|
||||||
|
|
||||||
echo 'Event::EVENT_AFTER_REQUEST ~ defer' . PHP_EOL;
|
|
||||||
});
|
});
|
||||||
if (Config::get('debug.enable', false, false)) {
|
if (Config::get('debug.enable', false, false)) {
|
||||||
function_exists('trackerHookMalloc') && trackerHookMalloc();
|
function_exists('trackerHookMalloc') && trackerHookMalloc();
|
||||||
@@ -55,8 +53,6 @@ class OnRequest extends Callback
|
|||||||
} catch (Error | \Throwable $exception) {
|
} catch (Error | \Throwable $exception) {
|
||||||
$this->sendErrorMessage($sResponse ?? null, $exception, $response);
|
$this->sendErrorMessage($sResponse ?? null, $exception, $response);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo 'Event::EVENT_AFTER_REQUEST ~~~~~~~~~ defer' . PHP_EOL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user