|
@@ -1347,7 +1347,7 @@ void CCardReadAdapterFSM::CheckAndReconnectSession()
|
|
|
{
|
|
|
if (m_pCardIssuer != NULL)
|
|
|
{
|
|
|
- m_pCardIssuer->SafeDelete();
|
|
|
+ //m_pCardIssuer->SafeDelete();
|
|
|
m_pCardIssuer = NULL;
|
|
|
}
|
|
|
m_pCardIssuer = new CardIssuerService_ClientBase(GetEntityBase());
|
|
@@ -1359,7 +1359,7 @@ void CCardReadAdapterFSM::CheckAndReconnectSession()
|
|
|
if (cardIssuerCount%120 == 0)//about 10 minutes can't connect to entity
|
|
|
Dbg("connect to entity CardIssuer failed.%d", eErr);
|
|
|
cardIssuerCount++;
|
|
|
- m_pCardIssuer->SafeDelete();
|
|
|
+ //m_pCardIssuer->SafeDelete();
|
|
|
m_pCardIssuer = NULL;
|
|
|
}
|
|
|
else
|
|
@@ -1375,7 +1375,7 @@ void CCardReadAdapterFSM::CheckAndReconnectSession()
|
|
|
{
|
|
|
if (m_pContactless != NULL)
|
|
|
{
|
|
|
- m_pContactless->SafeDelete();
|
|
|
+ //m_pContactless->SafeDelete();
|
|
|
m_pContactless = NULL;
|
|
|
}
|
|
|
m_pContactless = new ContactlessCardService_ClientBase(GetEntityBase());
|
|
@@ -1387,7 +1387,7 @@ void CCardReadAdapterFSM::CheckAndReconnectSession()
|
|
|
if (contactlessCardCount % 120 == 0)//about 10 minutes can't connect to entity
|
|
|
Dbg("connect to entity ContactlessCard failed.%d", eErr);
|
|
|
contactlessCardCount++;
|
|
|
- m_pContactless->SafeDelete();
|
|
|
+ //m_pContactless->SafeDelete();
|
|
|
m_pContactless = NULL;
|
|
|
}
|
|
|
else
|
|
@@ -1402,7 +1402,7 @@ void CCardReadAdapterFSM::CheckAndReconnectSession()
|
|
|
{
|
|
|
if (m_pCardSwiper != NULL)
|
|
|
{
|
|
|
- m_pCardSwiper->SafeDelete();
|
|
|
+ //m_pCardSwiper->SafeDelete();
|
|
|
m_pCardSwiper = NULL;
|
|
|
}
|
|
|
m_pCardSwiper = new CardSwiperService_ClientBase(GetEntityBase());
|
|
@@ -1414,7 +1414,7 @@ void CCardReadAdapterFSM::CheckAndReconnectSession()
|
|
|
if (cardSwiperCount%120 == 0)//about 10 minutes can't connect to entity
|
|
|
Dbg("connect to entity CardSwiper failed.%d", eErr);
|
|
|
cardSwiperCount++;
|
|
|
- m_pCardSwiper->SafeDelete();
|
|
|
+ //m_pCardSwiper->SafeDelete();
|
|
|
m_pCardSwiper = NULL;
|
|
|
}
|
|
|
else
|