fix crash on appdomain during reconnect

This commit is contained in:
Stanley Dimant
2023-02-24 09:08:14 +01:00
parent 78f0df9eaf
commit 242b6650ef
3 changed files with 21 additions and 15 deletions

View File

@@ -261,9 +261,9 @@ public partial class ApiController
Mediator.Publish(new NotificationMessage("Warning from " + _serverManager.CurrentServer!.ServerName, message, NotificationType.Warning, 7500));
break;
case MessageSeverity.Information:
if (_doNotNotifiyOnNextInfo)
if (_doNotNotifyOnNextInfo)
{
_doNotNotifiyOnNextInfo = false;
_doNotNotifyOnNextInfo = false;
break;
}
Mediator.Publish(new NotificationMessage("Info from " + _serverManager.CurrentServer!.ServerName, message, NotificationType.Info, 5000));