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
1 changed files with 1 additions and 0 deletions

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();
}
}