[Tween-svn] [1094] MemoryStreamをCloseしていなかったのを修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 11月 22日 (月) 21:31:47 JST


Revision: 1094
          http://sourceforge.jp/projects/tween/svn/view?view=rev&revision=1094
Author:   syo68k
Date:     2010-11-22 21:31:47 +0900 (Mon, 22 Nov 2010)

Log Message:
-----------
MemoryStreamをCloseしていなかったのを修正

Modified Paths:
--------------
    branches/UserStream/Tween/Twitter.vb


-------------- next part --------------
Modified: branches/UserStream/Tween/Twitter.vb
===================================================================
--- branches/UserStream/Tween/Twitter.vb	2010-11-22 11:14:08 UTC (rev 1093)
+++ branches/UserStream/Tween/Twitter.vb	2010-11-22 12:31:47 UTC (rev 1094)
@@ -1419,6 +1419,8 @@
         Catch ex As Exception
             TraceOut(content)
             Return "Invalid Json!"
+        Finally
+            stream.Close()
         End Try
 #End If
 
@@ -2043,7 +2045,6 @@
                 post.Id = Long.Parse(xentry.Item("id").InnerText)
                 '二重取得回避
                 SyncLock LockObj
-                    'If TabInformations.GetInstance.ContainsKey(post.Id) Then Continue For
                     If TabInformations.GetInstance.GetTabByType(TabUsageType.Favorites).Contains(post.Id) Then Continue For
                 End SyncLock
                 'Retweet判定



Tween-svn メーリングリストの案内
Back to archive index