mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gui-tests] JUnitClient: Simplify stopClient
All threads clean after themselves if connection is closed
This commit is contained in:
-5
@@ -86,11 +86,6 @@ class JUnitClientImpl(val host: String, val port: Int, initHandlers: Array<Clien
|
||||
LOG.info("Stopping client on port: $clientPort ...")
|
||||
poolOfMessages.clear()
|
||||
handlers.clear()
|
||||
clientReceiveThread.objectInputStream.close()
|
||||
clientReceiveThread.join()
|
||||
clientSendThread.objectOutputStream.close()
|
||||
clientSendThread.join()
|
||||
keepAliveThread.cancel()
|
||||
connection.close()
|
||||
keepAliveThread.cancel()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user