This commit is contained in:
as2252258@163.com
2021-04-25 01:36:01 +08:00
parent 722699203a
commit e836f96dff
+2 -4
View File
@@ -200,9 +200,7 @@ class Response extends HttpService
$result = Help::toString($result);
$string = PHP_EOL . 'Command Result: ' . PHP_EOL . PHP_EOL;
defer(function () {
fire('CONSOLE_END');
});
fire('CONSOLE_END');
if (str_contains((string)$result, 'Event::rshutdown(): Event::wait()')) {
return (string)$result;
}
@@ -215,7 +213,7 @@ class Response extends HttpService
$string .= 'Command End!' . PHP_EOL . PHP_EOL;
print_r($string);
return $result;
return (string)$result;
}
/**