Unsubscribe from repositories when window is closed.
Requires SLICE-Issue-12677-subscribe-to-window-closed-event-outside-of-initialize-BenComan.2
MODIFY
src/Case12640-PharoLauncher-Spec.package/PhLTitledTreeModel.class/instance/repository..st
src/Case12640-PharoLauncher-Spec.package/PhLTitledTreeModel.class/instance/repository..st
@@ -3,4 +3,5 @@ repository: aRepository
self assert: self repository isNil description: 'Changing the repository is not allowed because we would have to change the context as well'.
repositoryHolder value: aRepository.
self repository whenChangedSend: #refresh to: self.
+ self whenWindowClosed: [ self repository unsubscribe: self ] .
self refresh
\ No newline at end of file

Unsubscribe from repositories when window is closed.

Requires SLICE-Issue-12677-subscribe-to-window-closed-event-outside-of-initialize-BenComan.2