adium 2355:a29b4d381a6f: Need to invalidate these timers when er...

commits at adium.im commits at adium.im
Thu May 28 02:07:19 UTC 2009


details:	http://hg.adium.im/adium/rev/a29b4d381a6f
revision:	2355:a29b4d381a6f
author:		Zachary West <zacw at adium.im>
date:		Wed May 27 22:07:14 2009 -0400

Need to invalidate these timers when erroring out, since they'll continue to retain it.

diffstat:

 Frameworks/AIUtilities Framework/Source/AIProgressDataUploader.m |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r bc0882dfc625 -r a29b4d381a6f Frameworks/AIUtilities Framework/Source/AIProgressDataUploader.m
--- a/Frameworks/AIUtilities Framework/Source/AIProgressDataUploader.m	Wed May 27 22:05:03 2009 -0400
+++ b/Frameworks/AIUtilities Framework/Source/AIProgressDataUploader.m	Wed May 27 22:07:14 2009 -0400
@@ -278,6 +278,9 @@
  */
 - (void)errorDidOccur
 {
+	[periodicTimer invalidate]; periodicTimer = nil;
+	[timeoutTimer invalidate]; timeoutTimer = nil;
+	
 	[delegate uploadFailed:context];
 }
 




More information about the commits mailing list