mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Replace lost check
This commit is contained in:
parent
6a723e5a87
commit
75049ec22e
1 changed files with 1 additions and 1 deletions
|
@ -800,7 +800,7 @@ static NSOperationQueue *mainQueue = nil;
|
|||
- (void) dealloc
|
||||
{
|
||||
[self cancelAllOperations];
|
||||
if (GS_EXISTS_INTERNAL)
|
||||
if (GS_EXISTS_INTERNAL && internal->lock != nil)
|
||||
{
|
||||
DESTROY(internal->operations);
|
||||
DESTROY(internal->starting);
|
||||
|
|
Loading…
Reference in a new issue