From 17ef2c09bfe979d6bf7411e74b4ed8ca413acf03 Mon Sep 17 00:00:00 2001 From: oliveiraallex Date: Thu, 17 Sep 2026 08:00:46 +0200 Subject: [PATCH] Fix isActiveProcess deprecation and repoint Mocketry to v7.0.4 - BasysConnection>>close: use isActive instead of deprecated isActiveProcess - BaselineOfBasys: repoint Mocketry to github://dionisiydk/Mocketry:v7.0.4 --- BaselineOfBasys/BaselineOfBasys.class.st | 2 +- Basys/BasysConnection.class.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BaselineOfBasys/BaselineOfBasys.class.st b/BaselineOfBasys/BaselineOfBasys.class.st index 280f154..6d1fa07 100644 --- a/BaselineOfBasys/BaselineOfBasys.class.st +++ b/BaselineOfBasys/BaselineOfBasys.class.st @@ -16,7 +16,7 @@ BaselineOfBasys >> baseline: spec [ project: 'TCPServerTests' copyFrom: 'TCPServer' with: [ spec loads: 'Tests']; baseline: 'Mocketry' with: [ - spec repository: 'github://dionisiydk/Mocketry:v7.0.2' ]. + spec repository: 'github://dionisiydk/Mocketry:v7.0.4' ]. spec package: 'Basys' with: [ spec requires: #('TCPServerCore')]; package: 'Basys-Tests' with: [ spec requires: #('Basys' 'TCPServerTests' 'Mocketry')]. diff --git a/Basys/BasysConnection.class.st b/Basys/BasysConnection.class.st index 130daed..92b4c57 100644 --- a/Basys/BasysConnection.class.st +++ b/Basys/BasysConnection.class.st @@ -75,7 +75,7 @@ BasysConnection >> close [ And there are two cases where the actual close needs to be performed directly: - data process is not started yet - data process is in very beggining step where it is not able to handle the termination" - (incomingDataProcess notNil and: [ incomingDataProcess isActiveProcess not ]) ifTrue: [ + (incomingDataProcess notNil and: [ incomingDataProcess isActive not ]) ifTrue: [ "Here the close is performed from the outside of the connection (not under the data process)" incomingDataProcess terminate. "If terminate really did the close it will nil the process variable. And therefore the return"