예제 #1
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     if (GameListener != null)
     {
         GameListener.Dispose();
     }
 }
예제 #2
0
 public void Dispose()
 {
     broadcastListener.StopListening();
     broadcastListener.Dispose();
     ListViewGameList.RemoveHandler(Thumb.DragDeltaEvent, dragHandler);
     Program.LobbyClient.Disconnected -= LobbyClient_OnDisconnect;
     _refreshGameListTimer.Dispose();
 }
예제 #3
0
 public void Dispose()
 {
     if (GameListener != null)
     {
         GameListener.Dispose();
     }
     UpdateWebsiteTimer.Dispose();
 }
예제 #4
0
 public void Dispose()
 {
     Log.Info("GameManager Disposed");
     if (GameListener != null)
     {
         GameListener.Dispose();
     }
     UpdateWebsiteTimer.Dispose();
 }
예제 #5
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     broadcastListener.StopListening();
     broadcastListener.Dispose();
     ListViewGameList.RemoveHandler(Thumb.DragDeltaEvent, dragHandler);
     Program.LobbyClient.OnLoginComplete       -= LobbyClient_OnLoginComplete;
     Program.LobbyClient.OnDisconnect          -= LobbyClient_OnDisconnect;
     Program.LobbyClient.OnDataReceived        -= LobbyClient_OnDataReceived;
     Program.LobbyClient.Chatting.OnCreateRoom -= ChattingOnOnCreateRoom;
 }