diff --git a/GRDB/Core/DatabasePool.swift b/GRDB/Core/DatabasePool.swift index be673377ec..d2ef08cd02 100644 --- a/GRDB/Core/DatabasePool.swift +++ b/GRDB/Core/DatabasePool.swift @@ -185,7 +185,7 @@ extension DatabasePool { center.addObserver( self, selector: #selector(DatabasePool.applicationDidEnterBackground(_:)), - name: UIApplication.didReceiveMemoryWarningNotification, + name: UIApplication.didEnterBackgroundNotification, object: nil) }