Skip to content
Snippets Groups Projects
Commit 624d02be authored by Lukas Friedrichsen's avatar Lukas Friedrichsen
Browse files

final release

parent 2a89867a
Branches
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -377,6 +377,20 @@ public class MainApp extends Application { ...@@ -377,6 +377,20 @@ public class MainApp extends Application {
}); });
e.printStackTrace(); e.printStackTrace();
} }
finally {
try {
byte[] datagram = {Properties.SEPERATOR, (byte) 0x00, (byte) 0x00, (byte) Properties.SESSION_ABORT, (byte) 0x00, (byte) 0x00};
out.write(datagram);
client.close();
connectionEstablished = false;
running = false;
settingsController.updateSettingsStatus();
} catch (Exception e) {
setStatus("Error at: establishConnection (shutting down connection)");
e.printStackTrace();
}
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment