OSDN Git Service

オフライン時にCPUを使う問題を修正
authorkiri_feather <kiri_feather@users.sourceforge.jp>
Tue, 29 Jun 2010 08:38:15 +0000 (08:38 +0000)
committerKimura Youichi <kim.upsilon@bucyou.net>
Sat, 18 Feb 2012 14:13:51 +0000 (23:13 +0900)
git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@552 e39ad16e-3079-482e-bb30-4b4d378143b6

Tween/Tween.vb

index c781b54..7b9ff03 100644 (file)
@@ -2434,7 +2434,6 @@ Public Class TweenMain
     End Sub
 
     Private Sub GetTimeline(ByVal WkType As WORKERTYPE, ByVal fromPage As Integer, ByVal toPage As Integer, ByVal tabName As String)
-        If Not IsNetworkAvailable() Then Exit Sub
         ''タイマー初期化
         If WkType = WORKERTYPE.Timeline AndAlso SettingDialog.TimelinePeriodInt > 0 Then
             _homeCounter = SettingDialog.TimelinePeriodInt - _homeCounterAdjuster
@@ -2446,6 +2445,8 @@ Public Class TweenMain
             _dmCounter = SettingDialog.DMPeriodInt
         End If
 
+        If Not IsNetworkAvailable() Then Exit Sub
+
         '非同期実行引数設定
         Dim args As New GetWorkerArg
         args.page = fromPage