Don't retain the delegate to prevent a reference cycle.
This commit is contained in:
parent
5a2f8ac0f4
commit
cfb0c5f9bd
2 changed files with 3 additions and 6 deletions
|
@ -83,7 +83,7 @@
|
|||
@property (copy) OFString *username, *password, *server, *domain, *resource;
|
||||
@property (copy, readonly) XMPPJID *JID;
|
||||
@property (assign) uint16_t port;
|
||||
@property (retain) id <XMPPConnectionDelegate> delegate;
|
||||
@property (assign) id <XMPPConnectionDelegate> delegate;
|
||||
@property (readonly, retain) XMPPRoster *roster;
|
||||
@property (readonly, retain, getter=socket) OFTCPSocket *sock;
|
||||
@property (assign) BOOL encryptionRequired;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue