[Adium-devl] Leak of each AIWebKitMessageViewController and associated hierarchy; Adium 1.0+ (since )
catfish.man at gmail.com
Tue Apr 17 02:58:27 UTC 2007
> (a) the window script object's client could be a separate object
> so we can handle releasing it in -[AIWebKitMessageViewController
This is the approach used in my (incomplete) wkmv2 branch. I didn't
do it initially due to the relatively small amount of js<->objc
bridging going on.
> (b) we need to let the AIWebKitMessageViewController when it's job
> is done, before dealloc, so it can do [[webView windowScriptObject]
> setValue:nil forKey:@"client"]
This seems like a fine way of doing it for now.
More information about the Adium-devl