Skip to content

Commit 9a7dee6

Browse files
authored
fix(http): cleanup session without starting a new one (#1688)
1 parent 55cf540 commit 9a7dee6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/router/src/HttpApplication.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Tempest\Core\Kernel;
1111
use Tempest\Core\Tempest;
1212
use Tempest\Http\RequestFactory;
13-
use Tempest\Http\Session\Session;
13+
use Tempest\Http\Session\SessionManager;
1414
use Tempest\Log\Channels\AppendLogChannel;
1515
use Tempest\Log\LogConfig;
1616

@@ -57,7 +57,7 @@ public function run(): void
5757
$router->dispatch($psrRequest),
5858
);
5959

60-
$this->container->get(Session::class)->cleanup();
60+
$this->container->get(SessionManager::class)->cleanup();
6161

6262
$this->container->get(Kernel::class)->shutdown();
6363
}

0 commit comments

Comments
 (0)