mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
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:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user