[Adium-devl] Leak of each AIWebKitMessageViewController and associated hierarchy; Adium 1.0+ (since [15317])

David Smith catfish.man at gmail.com
Tue Apr 17 02:58:27 UTC 2007


> Either:
>  (a) the window script object's client could be a separate object  
> so we can handle releasing it in -[AIWebKitMessageViewController  
> dealloc]

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.


> or
>  (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.


						David






More information about the devel mailing list