Skip to content

Commit

Permalink
Improving the TKTWorkerExecutor to not keep a reference to the TKTWor…
Browse files Browse the repository at this point in the history
…ker through the TKTWorkerProcess chain
  • Loading branch information
tesonep committed Jun 30, 2020
1 parent 7e40bce commit 14948ae
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/TaskIt/TKTWorkerExecutor.class.st
Expand Up @@ -14,15 +14,10 @@ Class {
{ #category : #finalization }
TKTWorkerExecutor >> finalize [

processToKill kill
]

{ #category : #accessing }
TKTWorkerExecutor >> processToKill [
^ processToKill
(processToKill at: 1) ifNotNil: [:e | e kill]
]

{ #category : #accessing }
TKTWorkerExecutor >> processToKill: anObject [
processToKill := anObject
processToKill := WeakArray with: anObject
]

0 comments on commit 14948ae

Please sign in to comment.