Skip to content

Commit

Permalink
Merge 08e8e23
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Feb 3, 2024
2 parents 1549abc + 08e8e23 commit 98a79a8
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Iceberg/IceExternalJob.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ Class {
{ #category : 'events' }
IceExternalJob >> changed [

current >= max
ifTrue: [ ^ Job jobAnnouncer announce: (JobEnd on: self) ].
Job jobAnnouncer announce: (JobChange on: self)
self currentWorld defer: [
Job jobAnnouncer announce: (current >= max
ifTrue: [ JobEnd on: self ]
ifFalse: [ JobChange on: self ]) ]
]

{ #category : 'accessing' }
Expand All @@ -28,7 +29,9 @@ IceExternalJob >> current: anInteger [

{ #category : 'events' }
IceExternalJob >> end [
Job jobAnnouncer announce: (JobEnd on: self)

self currentWorld defer: [
Job jobAnnouncer announce: (JobEnd on: self) ]
]

{ #category : 'events' }
Expand Down Expand Up @@ -73,7 +76,8 @@ IceExternalJob >> progress [
IceExternalJob >> start [

started := true.
Job jobAnnouncer announce: (JobStart on: self)
self currentWorld defer: [
Job jobAnnouncer announce: (JobStart on: self) ]
]

{ #category : 'accessing' }
Expand Down

0 comments on commit 98a79a8

Please sign in to comment.