[Sc-devel] Re: fixed: object leak in NotificationCenter
James Harkins
jamshark70 at gmail.com
Sat Nov 10 17:46:13 PST 2007
Actually that's kind of a hack, though, because
MultiLevelIdentityDictionary can leave a lot of cruft around
depending on how you remove objects from it.
Should be pretty easy to fix in removeAtPath, but it can wait for 3.2.
hjh
On Nov 10, 2007, at 4:55 PM, James Harkins wrote:
> Just committed a fix for an object leak in the crucial notification
> center. Formerly, if you unregistered all the notifications for a
> given object, it would keep the object, along with any notification
> messages (usually symbols) that had ever been used with that object
> (and a bunch of empty IdentityDictionaries), in the global library.
>
> I know we're being cautious about commits before 3.1.1, but this is
> a real bug fix and low impact for the rest of the program. Hope
> nobody minds... (or, did I already miss 3.1.1?).
>
> hjh
>
>
> : H. James Harkins
> : jamshark70 at dewdrop-world.net
> : http://www.dewdrop-world.net
> .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
>
> "Come said the Muse,
> Sing me a song no poet has yet chanted,
> Sing me the universal." -- Whitman
>
: H. James Harkins
: jamshark70 at dewdrop-world.net
: http://www.dewdrop-world.net
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.create.ucsb.edu/pipermail/sc-devel/attachments/20071110/3f1dd392/attachment.htm
More information about the Sc-devel
mailing list