* MageDialog - Removed some memory leaks for client dialogs (more to come soon).

This commit is contained in:
LevelX2 2014-01-30 03:05:49 +01:00
parent 2302b39b47
commit 4ab572bd0e
9 changed files with 59 additions and 34 deletions

View file

@ -1122,6 +1122,10 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
chats.put(chatId, chatPanel);
}
public static void removeChat(UUID chatId) {
chats.remove(chatId);
}
public static GamePanel getGame(UUID gameId) {
return games.get(gameId);
}