adium 3189:68f0336e74f9: When an AWEzvContact deallocates, it sh...

commits at adium.im commits at adium.im
Wed May 12 02:33:07 UTC 2010


details:	http://hg.adium.im/adium/rev/68f0336e74f9
revision:	3189:68f0336e74f9
author:		Evan Schoenberg
date:		Tue May 11 21:32:52 2010 -0500

When an AWEzvContact deallocates, it should set its stream's delegate to nil, as the delegate is an assigned, not retained, ivar, and there's no guarantee the stream will immediately deallocate. This should fix #13727

diffs (12 lines):

diff -r 5871e3c08231 -r 68f0336e74f9 Plugins/Bonjour/libezv/Classes/AWEzvContact.m
--- a/Plugins/Bonjour/libezv/Classes/AWEzvContact.m	Tue May 11 20:37:20 2010 -0500
+++ b/Plugins/Bonjour/libezv/Classes/AWEzvContact.m	Tue May 11 21:32:52 2010 -0500
@@ -63,6 +63,8 @@
 	self.uniqueID = nil;
 	self.contactImageData = nil;
 	self.idleSinceDate = nil;
+
+	self.stream.delegate = nil;
 	self.stream = nil;
 	self.rendezvous = nil;
 	self.ipAddr = nil;




More information about the commits mailing list