Skip to content

Commit

Permalink
trying a weak
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Jan 26, 2024
1 parent 4e60579 commit 24a63d5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/Spec2-Layout/SpExecutableLayout.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,14 @@ SpExecutableLayout >> resolvePresenter: aPresenterOrLayout presenter: aPresenter

{ #category : 'accessing' }
SpExecutableLayout >> selector [

^ selector
]

{ #category : 'accessing' }
SpExecutableLayout >> selector: anObject [
selector := anObject
SpExecutableLayout >> selector: aSelector [

selector := aSelector
]

{ #category : 'private' }
Expand All @@ -338,13 +340,16 @@ SpExecutableLayout >> unsubscribe [
{ #category : 'events' }
SpExecutableLayout >> whenChildrenAddedDo: aBlock [

self announcer when: SpChildrenAdded do: aBlock for: aBlock receiver
self announcer weak
when: SpChildrenAdded
do: aBlock
for: aBlock receiver
]

{ #category : 'events' }
SpExecutableLayout >> whenChildrenRemovedDo: aBlock [

self announcer
self announcer weak
when: SpChildrenRemoved
do: aBlock
for: aBlock receiver
Expand Down

0 comments on commit 24a63d5

Please sign in to comment.