do not call clearUselessRealmObjects when into background

This commit is contained in:
nixzhu
2015-12-31 15:31:26 +08:00
parent 0d7d4b14bd
commit 7cdcf1417b
+1 -1
View File
@@ -123,7 +123,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
NSNotificationCenter.defaultCenter().postNotificationName(MessageToolbar.Notification.updateDraft, object: nil)
#if DEBUG
clearUselessRealmObjects()
//clearUselessRealmObjects() // only for test
#endif
}