mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
fix issue of not sending data after reconnecting?
This commit is contained in:
parent
672056932d
commit
948145b50f
1 changed files with 1 additions and 2 deletions
|
|
@ -394,7 +394,7 @@ public sealed partial class ApiController : DisposableMediatorSubscriberBase, IM
|
||||||
|
|
||||||
private async Task MareHubOnReconnected()
|
private async Task MareHubOnReconnected()
|
||||||
{
|
{
|
||||||
ServerState = ServerState.Connecting;
|
ServerState = ServerState.Connected;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
InitializeApiHooks();
|
InitializeApiHooks();
|
||||||
|
|
@ -406,7 +406,6 @@ public sealed partial class ApiController : DisposableMediatorSubscriberBase, IM
|
||||||
}
|
}
|
||||||
await LoadIninitialPairs().ConfigureAwait(false);
|
await LoadIninitialPairs().ConfigureAwait(false);
|
||||||
await LoadOnlinePairs().ConfigureAwait(false);
|
await LoadOnlinePairs().ConfigureAwait(false);
|
||||||
ServerState = ServerState.Connected;
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue