feat: Upgrade server with HyNB v2.4 modular architecture, minigames, admin GM web panel, companion summons, and car radio
This commit is contained in:
1 parent
74e2963a12
commit
3e5adf1dc5
1571 files changed
+336468
-6348
No files matched your search
@@ -38,21 +38,7 @@ internal static class RpcFrameDispatcher
|
||||
|
||||
if (frame.Mode == 0x09)
|
||||
{
|
||||
// Last-resort containment: the router already catches handler/fallback errors,
|
||||
// but anything that still escapes here must only cost this one frame — an
|
||||
// exception propagating to the TCP loop closes the session (client: Reconnecting).
|
||||
try
|
||||
{
|
||||
await router.DispatchAsync(session, frame, cancellationToken);
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
session.Log.Error($"dispatch survived frame mode=0x{frame.Mode:X2} (session kept)", ex);
|
||||
}
|
||||
await router.DispatchAsync(session, frame, cancellationToken);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user