Beispiel #1
0
 private void Ready(BaseWebSocketConnection e)
 {
     if (Global.AppState.State != ApplicationState.WaitingForInit)
     {
         Global.AppState.State = ApplicationState.Ready;
     }
 }
Beispiel #2
0
        private async void Close(BaseWebSocketConnection e)
        {
            Global.AppState.State = ApplicationState.Running;
            Unsubscribe(auditor);
            await CloseConnection(auditor);

            auditor = null;
            if (!isAborted)
            {
                _ = InternalRun();
            }
        }