[ 1717125 ] Frequently checking for new Requests/Notices
- fixed logout issue
This commit is contained in:
parent
5f1c64f152
commit
529901a54d
|
@ -440,7 +440,14 @@ public final class AMenu extends CFrame
|
||||||
*/
|
*/
|
||||||
public void dispose()
|
public void dispose()
|
||||||
{
|
{
|
||||||
// clean up - close windows
|
preDispose();
|
||||||
|
//
|
||||||
|
super.dispose();
|
||||||
|
AEnv.exit(0);
|
||||||
|
} // dispose
|
||||||
|
|
||||||
|
private void preDispose() {
|
||||||
|
// clean up - save window state
|
||||||
Ini.setWindowDimension(0, getSize());
|
Ini.setWindowDimension(0, getSize());
|
||||||
Ini.setDividerLocation(treePanel.getDividerLocation());
|
Ini.setDividerLocation(treePanel.getDividerLocation());
|
||||||
Ini.setWindowLocation(0, getLocation());
|
Ini.setWindowLocation(0, getLocation());
|
||||||
|
@ -454,15 +461,12 @@ public final class AMenu extends CFrame
|
||||||
infoUpdaterThread = null;
|
infoUpdaterThread = null;
|
||||||
infoUpdater = null;
|
infoUpdater = null;
|
||||||
}
|
}
|
||||||
//
|
}
|
||||||
super.dispose();
|
|
||||||
AEnv.exit(0);
|
|
||||||
} // dispose
|
|
||||||
|
|
||||||
public void logout()
|
public void logout()
|
||||||
{
|
{
|
||||||
windowManager.close();
|
windowManager.close();
|
||||||
Ini.saveProperties(true);
|
preDispose();
|
||||||
super.dispose();
|
super.dispose();
|
||||||
AEnv.logout();
|
AEnv.logout();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue