mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
temporary workaround for crash
This commit is contained in:
parent
72ad2656c8
commit
57f78a6a7a
2 changed files with 18 additions and 0 deletions
|
@ -278,11 +278,14 @@ NSString *NSLockException = @"NSLockException";
|
|||
|
||||
+ (id) allocWithZone: (NSZone*)z
|
||||
{
|
||||
return [super allocWithZone: z];
|
||||
/*
|
||||
if (self == baseLockClass && YES == traceLocks)
|
||||
{
|
||||
return class_createInstance(tracedLockClass, 0);
|
||||
}
|
||||
return class_createInstance(self, 0);
|
||||
*/
|
||||
}
|
||||
|
||||
+ (void) initialize
|
||||
|
@ -388,11 +391,14 @@ MUNLOCK
|
|||
|
||||
+ (id) allocWithZone: (NSZone*)z
|
||||
{
|
||||
return [super allocWithZone: z];
|
||||
/*
|
||||
if (self == baseRecursiveLockClass && YES == traceLocks)
|
||||
{
|
||||
return class_createInstance(tracedRecursiveLockClass, 0);
|
||||
}
|
||||
return class_createInstance(self, 0);
|
||||
*/
|
||||
}
|
||||
|
||||
+ (void) initialize
|
||||
|
@ -429,11 +435,14 @@ MUNLOCK
|
|||
|
||||
+ (id) allocWithZone: (NSZone*)z
|
||||
{
|
||||
return [super allocWithZone: z];
|
||||
/*
|
||||
if (self == baseConditionClass && YES == traceLocks)
|
||||
{
|
||||
return class_createInstance(tracedConditionClass, 0);
|
||||
}
|
||||
return class_createInstance(self, 0);
|
||||
*/
|
||||
}
|
||||
|
||||
+ (void) initialize
|
||||
|
@ -529,11 +538,14 @@ MUNLOCK
|
|||
|
||||
+ (id) allocWithZone: (NSZone*)z
|
||||
{
|
||||
return [super allocWithZone: z];
|
||||
/*
|
||||
if (self == baseConditionLockClass && YES == traceLocks)
|
||||
{
|
||||
return class_createInstance(tracedConditionLockClass, 0);
|
||||
}
|
||||
return class_createInstance(self, 0);
|
||||
*/
|
||||
}
|
||||
|
||||
+ (void) initialize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue