svnno****@sourc*****
svnno****@sourc*****
2010年 12月 16日 (木) 22:52:39 JST
Revision: 1214 http://sourceforge.jp/projects/tween/svn/view?view=rev&revision=1214 Author: f_swallow Date: 2010-12-16 22:52:39 +0900 (Thu, 16 Dec 2010) Log Message: ----------- ex.ResponseがNothingの場合、UserAgentの処理の部分でNullReferenceExceptionが発生していたのを修正 Modified Paths: -------------- trunk/Tween/Twitter.vb -------------- next part -------------- Modified: trunk/Tween/Twitter.vb =================================================================== --- trunk/Tween/Twitter.vb 2010-12-16 10:15:55 UTC (rev 1213) +++ trunk/Tween/Twitter.vb 2010-12-16 13:52:39 UTC (rev 1214) @@ -3071,7 +3071,7 @@ RaiseEvent Stopped() TraceOut("Stop:Timeout") Thread.Sleep(10 * 1000) - ElseIf CType(ex.Response, HttpWebResponse).StatusCode = 420 Then + ElseIf ex.Response IsNot Nothing AndAlso CType(ex.Response, HttpWebResponse).StatusCode = 420 Then TraceOut("Stop:Connection Limit") Exit Do Else