1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Mark Local SOCKS5 Proxy thread as daemon thread

Fixes SMACK-849.
This commit is contained in:
Florian Schmaus 2018-12-27 14:42:48 +01:00
parent 4b21f003af
commit 1a4ad7b8b5

View file

@ -211,6 +211,7 @@ public final class Socks5Proxy {
if (this.serverSocket != null) {
this.serverThread = new Thread(this.serverProcess);
this.serverThread.setName("Smack Local SOCKS5 Proxy");
this.serverThread.setDaemon(true);
this.serverThread.start();
}
}