Fix inline documentation for the setupMemoryManagement() function. In GRDB 5.0.0 and later, the parameter 'application' has been removed.

This commit is contained in:
Alexandre Colucci committed 2020-06-20 12:09:59 +02:00
1 parent 0fedc0cdbb
commit f97e0cc540
2 files changed
-8

No files matched your search

-4
View File
@@ -188,10 +188,6 @@ extension DatabasePool {
/// Listens to UIApplicationDidEnterBackgroundNotification and
/// UIApplicationDidReceiveMemoryWarningNotification in order to release
/// as much memory as possible.
///
/// - param application: The UIApplication that will start a background
/// task to let the database pool release its memory when the application
/// enters background.
private func setupMemoryManagement() {
let center = NotificationCenter.default
center.addObserver(
-4
View File
@@ -88,10 +88,6 @@ extension DatabaseQueue {
/// Listens to UIApplicationDidEnterBackgroundNotification and
/// UIApplicationDidReceiveMemoryWarningNotification in order to release
/// as much memory as possible.
///
/// - param application: The UIApplication that will start a background
/// task to let the database queue release its memory when the application
/// enters background.
private func setupMemoryManagement() {
let center = NotificationCenter.default
center.addObserver(