mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 05:52:06 +01:00
Mark Local SOCKS5 Proxy thread as daemon thread
Fixes SMACK-849.
This commit is contained in:
parent
4b21f003af
commit
1a4ad7b8b5
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue