Title: [170311] trunk/Source/WebKit2
Revision
170311
Author
[email protected]
Date
2014-06-23 12:35:54 -0700 (Mon, 23 Jun 2014)

Log Message

Unregister notification observer registered in r170156.
https://bugs.webkit.org/show_bug.cgi?id=134204.

Reviewed by Tim Horton.

* UIProcess/API/mac/WKView.mm:
(-[WKView dealloc]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (170310 => 170311)


--- trunk/Source/WebKit2/ChangeLog	2014-06-23 19:29:08 UTC (rev 170310)
+++ trunk/Source/WebKit2/ChangeLog	2014-06-23 19:35:54 UTC (rev 170311)
@@ -1,3 +1,13 @@
+2014-06-23  Roger Fong  <[email protected]>
+
+        Unregister notification observer registered in r170156.
+        https://bugs.webkit.org/show_bug.cgi?id=134204.
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/API/mac/WKView.mm:
+        (-[WKView dealloc]):
+
 2014-06-23  Dan Bernstein  <[email protected]>
 
         [Cocoa] No way to grant storage quotas for WebSQL

Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (170310 => 170311)


--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2014-06-23 19:29:08 UTC (rev 170310)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2014-06-23 19:35:54 UTC (rev 170311)
@@ -302,6 +302,8 @@
     NSNotificationCenter* workspaceNotificationCenter = [[NSWorkspace sharedWorkspace] notificationCenter];
     [workspaceNotificationCenter removeObserver:self name:NSWorkspaceActiveSpaceDidChangeNotification object:nil];
 
+    [[NSNotificationCenter defaultCenter] removeObserver:self name:NSApplicationWillTerminateNotification object:NSApp];
+
     WebContext::statistics().wkViewCount--;
 
     [super dealloc];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to