This commit is contained in:
2021-04-27 19:05:17 +08:00
parent 3f2eb9d8ed
commit 2209997504
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ use Annotation\Target;
use Annotation\Route\Middleware; use Annotation\Route\Middleware;
use Annotation\Route\Route; use Annotation\Route\Route;
use Snowflake\Core\Str; use Snowflake\Core\Str;
use Snowflake\Core\JSON; use Snowflake\Core\Json;
use HttpServer\Http\Request; use HttpServer\Http\Request;
use HttpServer\Http\Response; use HttpServer\Http\Response;
use HttpServer\Controller; use HttpServer\Controller;
+1 -1
View File
@@ -87,7 +87,7 @@ namespace ' . $namespace . ';
use Exception; use Exception;
use Annotation\Target; use Annotation\Target;
use Snowflake\Core\JSON; use Snowflake\Core\Json;
use Database\Connection; use Database\Connection;
use Annotation\Model\Get; use Annotation\Model\Get;
use Annotation\Model\Set; use Annotation\Model\Set;
-1
View File
@@ -25,7 +25,6 @@ class OnConnect extends Callback
*/ */
public function onHandler(Server $server, int $fd, int $reactorId) public function onHandler(Server $server, int $fd, int $reactorId)
{ {
var_dump($fd, $reactorId);
try { try {
defer(function () { defer(function () {
fire(Event::SYSTEM_RESOURCE_RELEASES); fire(Event::SYSTEM_RESOURCE_RELEASES);