Status: FixToReview
Owner:
[hidden email]
Labels: Type-Bug Milestone-2.0
New issue 5903 by
[hidden email]: MonticelloAnnouncer may announce
two times an announcement
http://code.google.com/p/pharo/issues/detail?id=5903new
| instance |
instance := super new.
MonticelloAnnouncer announcer announce: (MCWorkingCopyCreated workingCopy:
instance).
^ instance
forPackage: aPackage
^ self registry at: aPackage ifAbsent:
[|mgr|
mgr := self new initializeWithPackage: aPackage.
^^^^^^
self registry at: aPackage put: mgr.
self changed: (Array with: #registered with: aPackage).
MonticelloAnnouncer announcer announce: (MCWorkingCopyCreated
workingCopy: mgr package: aPackage).
mgr]
So removing new may be a solution. Now this is not clear that there is no
direct new senders.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker