Title: [277794] branches/safari-612.1.15.1-branch/Source/WebKit
Revision
277794
Author
rubent...@apple.com
Date
2021-05-20 10:32:31 -0700 (Thu, 20 May 2021)

Log Message

Cherry-pick r277518. rdar://problem/78260425

    Web Inspector: `_WKInspector` leaks `WebInspectorUIProxy`
    https://bugs.webkit.org/show_bug.cgi?id=225815

    Reviewed by Tim Horton.

    Add a missing call in `_WKInspector`'s destructor to destruct the `WebInspectorUIProxy` in API object storage.

    * UIProcess/API/Cocoa/_WKInspector.mm:
    (-[_WKInspector dealloc]):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277518 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-612.1.15.1-branch/Source/WebKit/ChangeLog (277793 => 277794)


--- branches/safari-612.1.15.1-branch/Source/WebKit/ChangeLog	2021-05-20 17:28:39 UTC (rev 277793)
+++ branches/safari-612.1.15.1-branch/Source/WebKit/ChangeLog	2021-05-20 17:32:31 UTC (rev 277794)
@@ -1,3 +1,32 @@
+2021-05-20  Russell Epstein  <repst...@apple.com>
+
+        Cherry-pick r277518. rdar://problem/78260425
+
+    Web Inspector: `_WKInspector` leaks `WebInspectorUIProxy`
+    https://bugs.webkit.org/show_bug.cgi?id=225815
+    
+    Reviewed by Tim Horton.
+    
+    Add a missing call in `_WKInspector`'s destructor to destruct the `WebInspectorUIProxy` in API object storage.
+    
+    * UIProcess/API/Cocoa/_WKInspector.mm:
+    (-[_WKInspector dealloc]):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-05-14  Patrick Angle  <pan...@apple.com>
+
+            Web Inspector: `_WKInspector` leaks `WebInspectorUIProxy`
+            https://bugs.webkit.org/show_bug.cgi?id=225815
+
+            Reviewed by Tim Horton.
+
+            Add a missing call in `_WKInspector`'s destructor to destruct the `WebInspectorUIProxy` in API object storage.
+
+            * UIProcess/API/Cocoa/_WKInspector.mm:
+            (-[_WKInspector dealloc]):
+
 2021-05-19  Alan Coon  <alanc...@apple.com>
 
         Cherry-pick r277665. rdar://problem/78224090

Modified: branches/safari-612.1.15.1-branch/Source/WebKit/UIProcess/API/Cocoa/_WKInspector.mm (277793 => 277794)


--- branches/safari-612.1.15.1-branch/Source/WebKit/UIProcess/API/Cocoa/_WKInspector.mm	2021-05-20 17:28:39 UTC (rev 277793)
+++ branches/safari-612.1.15.1-branch/Source/WebKit/UIProcess/API/Cocoa/_WKInspector.mm	2021-05-20 17:32:31 UTC (rev 277794)
@@ -213,6 +213,8 @@
 {
     if (WebCoreObjCScheduleDeallocateOnMainRunLoop(_WKInspector.class, self))
         return;
+    
+    _inspector->~WebInspectorUIProxy();
 
     [super dealloc];
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to