From 1a4ad7b8b50a54c086a65bbe02e30aa3dca01d96 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 27 Dec 2018 14:42:48 +0100 Subject: [PATCH] Mark Local SOCKS5 Proxy thread as daemon thread Fixes SMACK-849. --- .../org/jivesoftware/smackx/bytestreams/socks5/Socks5Proxy.java | 1 + 1 file changed, 1 insertion(+) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5Proxy.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5Proxy.java index b39527ee3..da4dde16a 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5Proxy.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5Proxy.java @@ -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(); } }