forked from External/mage
added client/server ping + remove inactive connections from server
This commit is contained in:
parent
774d56dd6b
commit
ab599dd335
7 changed files with 105 additions and 20 deletions
|
|
@ -190,10 +190,11 @@ public class TablesPanel extends javax.swing.JPanel {
|
|||
}
|
||||
|
||||
public void hideTables() {
|
||||
if (tableWaitingDialog.isVisible()) {
|
||||
if (tableWaitingDialog != null && tableWaitingDialog.isVisible()) {
|
||||
tableWaitingDialog.closeDialog();
|
||||
}
|
||||
updateTask.cancel(true);
|
||||
if (updateTask != null)
|
||||
updateTask.cancel(true);
|
||||
this.chatPanel.disconnect();
|
||||
|
||||
Component c = this.getParent();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue