mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
Protect againse dealloc of uninitialised connection
This commit is contained in:
parent
67a42b38ce
commit
2887275a3a
1 changed files with 2 additions and 2 deletions
|
@ -856,9 +856,9 @@ static NSLock *cached_proxies_gate = nil;
|
|||
{
|
||||
if (debug_connection)
|
||||
NSLog(@"deallocating %@", self);
|
||||
[self finalize];
|
||||
if (internal != nil)
|
||||
if (GS_EXISTS_INTERNAL)
|
||||
{
|
||||
[self finalize];
|
||||
GS_DESTROY_INTERNAL(NSConnection);
|
||||
}
|
||||
[super dealloc];
|
||||
|
|
Loading…
Reference in a new issue