Skip to content

Commit

Permalink
Cleanup: Remove deprecated announcement #SnapshotDone in SnapshotOper…
Browse files Browse the repository at this point in the history
…ation>>#performSnapshot for Pharo 13

Fix #16656
  • Loading branch information
astares committed May 14, 2024
1 parent 63d2785 commit 6953ba7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/System-Support/SnapshotOperation.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,7 @@ SnapshotOperation >> performSnapshot [

self executeStoringError: [
isImageStarting ifTrue: [ sessionManager installNewSession ].
sessionManager currentSession start: isImageStarting ].

self hasSavedSuccessfully
ifTrue: [ "This branch should be removed in Pharo 13 with the deprecated announcement."
self class environment at: #SnapshotDone
ifPresent: [ :class | self class codeSupportAnnouncer announce: (class isNewImage: isImageStarting) ] ].

sessionManager currentSession start: isImageStarting ].
]

{ #category : 'accessing' }
Expand Down

0 comments on commit 6953ba7

Please sign in to comment.