From 4c120d6b59b1267be660dc44b661e38e776370bb Mon Sep 17 00:00:00 2001 From: N2614 Date: Tue, 21 Feb 2012 00:22:09 +0000 Subject: [PATCH] =?UTF-8?q?ac=E3=81=8C=E6=9C=AA=E5=88=9D=E6=9C=9F=E5=8C=96?= =?UTF-8?q?=E3=81=AE=E6=99=82=E3=81=A0=E3=81=91=E5=88=9D=E6=9C=9F=E5=8C=96?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@642 385bec56-5757-e545-9c3a-d8741f4650f1 --- trunk/ConsoleDataMigration/sources/common/Util.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/trunk/ConsoleDataMigration/sources/common/Util.cpp b/trunk/ConsoleDataMigration/sources/common/Util.cpp index a21abad..15b8196 100644 --- a/trunk/ConsoleDataMigration/sources/common/Util.cpp +++ b/trunk/ConsoleDataMigration/sources/common/Util.cpp @@ -387,8 +387,12 @@ nn::Result InitializeNetwork(void) nn::Result result; nn::ac::Config config; - result = nn::ac::InitializeInternal(); - COMMON_LOGGER_RETURN_RESULT_IF_FAILED(result); + // 未初期化の時だけ初期化する + if(!nn::ac::IsInitializedInternal()) + { + result = nn::ac::InitializeInternal(); + COMMON_LOGGER_RETURN_RESULT_IF_FAILED(result); + } // 接続要求用のパラメータを作成 result = nn::ac::CreateDefaultConfig(&config);