2008-07-07 Anders Carlsson <andersca@apple.com>
commit4625933fc4bbd029b1a0a0f74abc84eaaf2d6d79
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jul 2008 22:02:19 +0000 (7 22:02 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jul 2008 22:02:19 +0000 (7 22:02 +0000)
treeed2dc18b8f53cec7e647302c07e00afaaea94931
parentfdf354c68ce91a3cc3ef2e5a19c4a4d7cb7f2c56
2008-07-07  Anders Carlsson  <andersca@apple.com>

        Reviewed by Darin.

        Speculative fix for
        <rdar://problem/5839800>
        CrashTracer: [USER] 5802 crashes in Safari at com.apple.WebKit: -[WebHTMLView(WebPrivate) _updateMouseoverWithFakeEvent] + 389

        Set _private->closed to YES before calling -[WebPluginController destroyAllPlugins].

        My theory is that the plug-in destruction callbacks could end up rescheduling timers or re-adding notifications.
        This is usually protected by _private->closed, but in this case it might still be false.

        * WebView/WebHTMLView.mm:
        (-[WebHTMLView close]):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/mac/ChangeLog
WebKit/mac/WebView/WebHTMLView.mm