mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Be more careful to break retain cycles
This commit is contained in:
parent
d5da27bcbc
commit
5a150d8fa2
2 changed files with 15 additions and 13 deletions
|
@ -431,6 +431,7 @@ typedef struct
|
|||
this->_delegate = nil;
|
||||
[o connection: self didFailWithError: error];
|
||||
DESTROY(o);
|
||||
[this->_protocol stopLoading];
|
||||
DESTROY(this->_protocol);
|
||||
}
|
||||
|
||||
|
@ -511,6 +512,7 @@ typedef struct
|
|||
this->_delegate = nil;
|
||||
[o connectionDidFinishLoading: self];
|
||||
DESTROY(o);
|
||||
[this->_protocol stopLoading];
|
||||
DESTROY(this->_protocol);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue