SPARK-626 Jars missing from the classpath in Linux

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7991 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2007-04-12 17:48:23 +00:00
committed by derek
parent 70e9cb275f
commit 4697d6cef3
2 changed files with 17 additions and 1 deletions

View File

@ -239,6 +239,14 @@ public final class MainWindow extends ChatFrame implements ActionListener {
* setting the Agent to be offline.
*/
public void shutdown() {
final XMPPConnection con = SparkManager.getConnection();
if (con.isConnected()) {
// Send disconnect.
con.disconnect();
}
// Notify all MainWindowListeners
try {
fireWindowShutdown();