365
366
367
368
369
370
371
372
373
374
375
376
|
if (!of_mutex_unlock(&mutex))
@throw [OFMutexUnlockFailedException newWithClass: isa];
}
- (void)dealloc
{
if (initialized)
of_mutex_free(&mutex);
[super dealloc];
}
@end
|
|
>
|
365
366
367
368
369
370
371
372
373
374
375
376
377
|
if (!of_mutex_unlock(&mutex))
@throw [OFMutexUnlockFailedException newWithClass: isa];
}
- (void)dealloc
{
if (initialized)
if (!of_mutex_free(&mutex))
@throw [OFMutexLockedException newWithClass: isa];
[super dealloc];
}
@end
|