From 325b376f4cb42fd56ab99262a1afb890bcd89134 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Thu, 4 Apr 2019 18:01:12 -0400 Subject: [PATCH] Fix notification name. --- GRDB/Core/DatabasePool.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }