Commit 186210ba authored by thatcher's avatar thatcher

Reviewed by Anders.

        Call _close in dealloc to ensure we cleanup for backwards
        compatibility. This will safeguard and cleanup even if the
        application doesn't use the new close API yet, like Mail.

        * WebView/WebView.m:
        (-[WebView dealloc]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3b86bc07
2006-06-30 Timothy Hatcher <timothy@apple.com>
Reviewed by Anders.
Call _close in dealloc to ensure we cleanup for backwards
compatibility. This will safeguard and cleanup even if the
application doesn't use the new close API yet, like Mail.
* WebView/WebView.m:
(-[WebView dealloc]):
2006-06-29 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin.
......
......@@ -1852,8 +1852,10 @@ - (void)encodeWithCoder:(NSCoder *)encoder
- (void)dealloc
{
ASSERT(_private->closed);
// call close to ensure we tear-down completly
// this maintains our old behavior for existing applications
[self _close];
--WebViewCount;
[_private release];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment