• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión1700d3615bb8531268eaa9c119ec27f581e8b312 (tree)
Tiempo2009-09-29 01:02:22
Autoreru <eru01@user...>
Commitereru

Log Message

bump中にGUIから切断不能にした

Cambiar Resumen

Diferencia incremental

--- a/PeerCast.root/PeerCast/ui/win32/simple/gui.cpp
+++ b/PeerCast.root/PeerCast/ui/win32/simple/gui.cpp
@@ -1135,7 +1135,7 @@ THREAD_PROC GUIDataUpdate(ThreadInfo *thread){
11351135 }
11361136
11371137 // 0.1秒×10で1秒待ち
1138- for(i=0; i<10; i++)
1138+ for(i=0; i<2; i++)
11391139 {
11401140 if (!thread->active)
11411141 break;
@@ -1243,8 +1243,12 @@ void PopupChannelMenu(int channel_id){
12431243 break;
12441244
12451245 case 1001: // 切断
1246- c->thread.active = false;
1247- c->thread.finish = true;
1246+ // bump中は切断しない
1247+ if (!c->bumped)
1248+ {
1249+ c->thread.active = false;
1250+ c->thread.finish = true;
1251+ }
12481252 break;
12491253
12501254 case 1002: // 再接続
--- a/c:/Git/PeerCast.root/PeerCast/ui/win32/simple/gui.cpp
+++ b/c:/Git/PeerCast.root/PeerCast/ui/win32/simple/gui.cpp
@@ -1135,7 +1135,7 @@ THREAD_PROC GUIDataUpdate(ThreadInfo *thread){
11351135 }
11361136
11371137 // 0.1秒×10で1秒待ち
1138- for(i=0; i<10; i++)
1138+ for(i=0; i<2; i++)
11391139 {
11401140 if (!thread->active)
11411141 break;
@@ -1243,8 +1243,12 @@ void PopupChannelMenu(int channel_id){
12431243 break;
12441244
12451245 case 1001: // 切断
1246- c->thread.active = false;
1247- c->thread.finish = true;
1246+ // bump中は切断しない
1247+ if (!c->bumped)
1248+ {
1249+ c->thread.active = false;
1250+ c->thread.finish = true;
1251+ }
12481252 break;
12491253
12501254 case 1002: // 再接続