Kernel: Don't crash if socket tries to reconnect

:D
This commit is contained in:
Bananymous 2025-06-11 01:54:41 +03:00
parent c97b60e7e5
commit 125f8b591d
1 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,8 @@ namespace Kernel
LockGuard _(m_mutex);
ASSERT(!m_connection_info.has_value());
if (m_connection_info.has_value())
return BAN::Error::from_errno(EISCONN);
switch (m_state)
{