From f97e0cc540a2c2e30dbfc9928c769233532e3acf Mon Sep 17 00:00:00 2001 From: Alexandre Colucci Date: Sat, 20 Jun 2020 12:09:59 +0200 Subject: [PATCH] Fix inline documentation for the setupMemoryManagement() function. In GRDB 5.0.0 and later, the parameter 'application' has been removed. --- GRDB/Core/DatabasePool.swift | 4 ---- GRDB/Core/DatabaseQueue.swift | 4 ---- 2 files changed, 8 deletions(-) diff --git a/GRDB/Core/DatabasePool.swift b/GRDB/Core/DatabasePool.swift index 9896121cc..d967d1f7e 100644 --- a/GRDB/Core/DatabasePool.swift +++ b/GRDB/Core/DatabasePool.swift @@ -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( diff --git a/GRDB/Core/DatabaseQueue.swift b/GRDB/Core/DatabaseQueue.swift index a3d269452..857c5d1e4 100644 --- a/GRDB/Core/DatabaseQueue.swift +++ b/GRDB/Core/DatabaseQueue.swift @@ -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(