Closes open chats, like we close the main window when quiting the ui, so we avoid removing ui plugins one by one, while those plugins are unregistered from OSGi.

cusax-fix
Damian Minkov 13 years ago
parent bb8762c945
commit ad1792abbb

@ -1200,6 +1200,11 @@ public void beginShutdown()
{
try
{
// close chats, so we do not start removing plugins one by one
// when we start to stop the application
for(ChatPanel cp : chatWindowManager.getAllChats())
chatWindowManager.closeChat(cp);
if (mainFrame != null)
mainFrame.dispose();
}

Loading…
Cancel
Save