Browse Source

make updateSession async

PHP-GTK3
yggverse 5 months ago
parent
commit
27da36d0f8
  1. 7
      src/Entity/Browser/Container/Tab.php

7
src/Entity/Browser/Container/Tab.php

@ -251,6 +251,10 @@ class Tab
} }
public function updateSession(): void public function updateSession(): void
{
$pid = pcntl_fork();
if ($pid === 0)
{ {
$this->container->browser->database->cleanSession(); $this->container->browser->database->cleanSession();
@ -260,5 +264,8 @@ class Tab
$page->navbar->request->getValue() $page->navbar->request->getValue()
); );
} }
exit;
}
} }
} }
Loading…
Cancel
Save