adium-1.4 2940:aaef255f28f9: When an AWEzvContact deallocates, i...

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


details:	http://hg.adium.im/adium-1.4/rev/aaef255f28f9
revision:	2940:aaef255f28f9
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
(transplanted from 68f0336e74f979d7d114f9f2192142f6676b99df)

diffs (12 lines):

diff -r b2a5e63a0760 -r aaef255f28f9 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