mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Call -cancel at the end of a synchronous load so that we stop our NSURLProtocol instance from retaining us as its client.
This commit is contained in:
parent
747f47d83d
commit
625e8541a9
1 changed files with 3 additions and 0 deletions
|
@ -403,6 +403,9 @@ typedef struct
|
|||
*error = [[[collector error] retain] autorelease];
|
||||
}
|
||||
}
|
||||
/* Cancel to prevent the NSURLProtocol instance retaining us.
|
||||
*/
|
||||
[conn cancel];
|
||||
[conn release];
|
||||
}
|
||||
[collector release];
|
||||
|
|
Loading…
Reference in a new issue