Remove the roster delegate if it gets deallocated.
Maybe it's not a good idea altogether to add/remove the roster automatically?
This commit is contained in:
parent
c75c7f1f91
commit
cb43292ca0
2 changed files with 2 additions and 2 deletions
|
@ -56,12 +56,12 @@
|
|||
|
||||
- (void)dealloc
|
||||
{
|
||||
[connection removeDelegate: self];
|
||||
[rosterItems release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
||||
- (OFDictionary*)rosterItems
|
||||
{
|
||||
return [[rosterItems copy] autorelease];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue