фикс бага с ssh, соединения вообще не закрывались и плодились как кролики.

This commit is contained in:
2023-12-05 01:31:53 +03:00
parent a6a29e913a
commit 15a179d8e9
2 changed files with 4 additions and 4 deletions

View File

@@ -172,8 +172,10 @@ public class TestingPlanner {
supervisor = new TestsSupervisor_2022(this, user.connection, tasksPackage, new Vector<>(packageTasks.values()));
supervisor.Perform();
} catch (Exception ex) {
Print("Ошибка сеанса, соединение будет разорвано.");
Print("Ошибка сеанса.");
Print(ex.getMessage());
}
finally {
if (user.connection != null) {
user.connection.Disconnect();
user.connection = null;