forked from External/mage
* MageDialog - Removed some memory leaks for client dialogs (more to come soon).
This commit is contained in:
parent
2302b39b47
commit
4ab572bd0e
9 changed files with 59 additions and 34 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue