Reviewed by Darin.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Mar 2006 22:39:42 +0000 (22:39 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Mar 2006 22:39:42 +0000 (22:39 +0000)
commite88bd6ed3ec1cb55d6dbaef56f0b1d677ce3514d
tree43d48cca47b6e4ab9fcc8bb4090fe2acde340737
parent86deb50ee0ccff6b595329ce0836af4a99a99952
    Reviewed by Darin.

        We need to set reachedTerminalState to YES before we release
        the resources to prevent a double dealloc of WebView

        Fixes <rdar://problem/4372628> crash deallocating a WebView in -[WebFrame stopLoading]

        * WebView/WebLoader.m:
        (-[NSURLProtocol releaseResources]): set reachedTerminalState earlier

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebView/WebLoader.m