[iOS][WK2] Pause/resume database thread when UIProcess enters/leaves the background
[WebKit-https.git] / Source / WebKit2 / UIProcess / ios / WKContentView.mm
index de70f64..5c363bb 100644 (file)
@@ -551,6 +551,7 @@ private:
 - (void)_applicationDidEnterBackground:(NSNotification*)notification
 {
     _isBackground = YES;
+    _page->applicationDidEnterBackground();
     _page->viewStateDidChange(ViewState::AllFlags & ~ViewState::IsInWindow);
 }