added client/server ping + remove inactive connections from server

This commit is contained in:
BetaSteward 2011-05-11 22:08:11 -04:00
parent 774d56dd6b
commit ab599dd335
7 changed files with 105 additions and 20 deletions

View file

@ -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();