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"