diff --git a/sakura_core/_main/CProcessFactory.cpp b/sakura_core/_main/CProcessFactory.cpp index e9e881917a..70afae3ffc 100644 --- a/sakura_core/_main/CProcessFactory.cpp +++ b/sakura_core/_main/CProcessFactory.cpp @@ -258,7 +258,7 @@ bool CProcessFactory::WaitForInitializedControlProcess() return false; } DWORD dwRet; - dwRet = ::WaitForSingleObject( hEvent, 10000 ); // 最大10秒間待つ + dwRet = ::WaitForSingleObject( hEvent, 30000 ); if( WAIT_TIMEOUT == dwRet ){ // コントロールプロセスの初期化が終了しない ::CloseHandle( hEvent ); TopErrorMessage( NULL, L"エディタまたはシステムがビジー状態です。\nしばらく待って開きなおしてください。" ); diff --git a/tests/unittests/test-winmain.cpp b/tests/unittests/test-winmain.cpp index 24a4488781..b4827f6354 100644 --- a/tests/unittests/test-winmain.cpp +++ b/tests/unittests/test-winmain.cpp @@ -151,7 +151,7 @@ void CControlProcess_WaitForInitialized(std::wstring_view profileName) handleHolder eventHolder( hEvent ); // 初期化完了イベントを待つ - DWORD dwRet = ::WaitForSingleObject( hEvent, 10000 ); + DWORD dwRet = ::WaitForSingleObject( hEvent, 30000 ); if( WAIT_TIMEOUT == dwRet ){ throw std::runtime_error( "waitEvent is timeout." ); }