result r = __pLock->Acquire();
SysTryLog(NID_APP, !IsFailed(r), "Failed to acquire mutex.");
- AppResource* pAppResource = static_cast<AppResource*> (__pContainer->GetValue(key));
- delete pAppResource;
-
ret = __pContainer->Remove(key);
r = __pLock->Release();
__pLock = pLock.release();
- std::atexit(DestroySingleton);
+ //std::atexit(DestroySingleton);
}
void