1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +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) { if (this.serverSocket != null) {
this.serverThread = new Thread(this.serverProcess); this.serverThread = new Thread(this.serverProcess);
this.serverThread.setName("Smack Local SOCKS5 Proxy"); this.serverThread.setName("Smack Local SOCKS5 Proxy");
this.serverThread.setDaemon(true);
this.serverThread.start(); this.serverThread.start();
} }
} }