mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
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:
1 parent
0fedc0cdbb
commit
f97e0cc540
2 files changed
-8
No files matched your search
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user