mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-06 15:46:23 +00:00
Monotone-Parent: b2d085794edde254007a3097e654f621a7c9a284
Monotone-Revision: a3fc297161b789eefee18087844b47a8aaf75178 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-03-24T16:30:34 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
29
SOPE/sope-debugleaks.diff
Normal file
29
SOPE/sope-debugleaks.diff
Normal file
@@ -0,0 +1,29 @@
|
||||
Index: sope-appserver/NGObjWeb/WOCoreApplication.m
|
||||
===================================================================
|
||||
--- sope-appserver/NGObjWeb/WOCoreApplication.m (révision 1632)
|
||||
+++ sope-appserver/NGObjWeb/WOCoreApplication.m (copie de travail)
|
||||
@@ -157,6 +157,10 @@
|
||||
NSUserDefaults *ud;
|
||||
NGLoggerManager *lm;
|
||||
|
||||
+ GSDebugAllocationActive (YES);
|
||||
+ GSDebugAllocationList (NO);
|
||||
+
|
||||
+// GSDebugAllocationActiveRecordingObjects
|
||||
[self registerUserDefaults];
|
||||
ud = [NSUserDefaults standardUserDefaults];
|
||||
lm = [NGLoggerManager defaultLoggerManager];
|
||||
@@ -535,10 +539,12 @@
|
||||
|
||||
if ([self isTerminating])
|
||||
break;
|
||||
-
|
||||
+
|
||||
[self activateApplication];
|
||||
[loop runMode:NSDefaultRunLoopMode beforeDate:limitDate];
|
||||
[self deactivateApplication];
|
||||
+
|
||||
+ NSLog (@"allocated classes:\n%s", GSDebugAllocationList (YES));
|
||||
}
|
||||
|
||||
[pool release];
|
||||
Reference in New Issue
Block a user