adbserver: no client threads

This commit is contained in:
Samuel Carlsson 2022-02-12 20:53:38 +01:00 committed by Samuel Carlsson
parent fd1a833e6d
commit f738b9f86c

View File

@ -40,9 +40,7 @@ public abstract class SocketServer implements Runnable {
while (true) { while (true) {
Socket c = socket.accept(); Socket c = socket.accept();
Thread clientThread = new Thread(createResponder(c), "AdbClientWorker"); createResponder(c).run();
clientThread.setDaemon(true);
clientThread.start();
} }
} catch (IOException e) { } catch (IOException e) {
// Empty on purpose // Empty on purpose