From 7cdcf1417b3dc073af29f05368bb255c8d32ba50 Mon Sep 17 00:00:00 2001 From: nixzhu Date: Thu, 31 Dec 2015 15:31:26 +0800 Subject: [PATCH] do not call clearUselessRealmObjects when into background --- Yep/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yep/AppDelegate.swift b/Yep/AppDelegate.swift index b9625130..a2749e7e 100644 --- a/Yep/AppDelegate.swift +++ b/Yep/AppDelegate.swift @@ -123,7 +123,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { NSNotificationCenter.defaultCenter().postNotificationName(MessageToolbar.Notification.updateDraft, object: nil) #if DEBUG - clearUselessRealmObjects() + //clearUselessRealmObjects() // only for test #endif }