if (IsFailed(r))
{
AppLogDebug("IsFailed");
+ __pCameraStarterThread->Stop();
+ __pCameraStarterThread->Join();
delete __pCameraStarterThread;
__pCameraStarterThread = null;
return r;
CameraStarterThread::DestroyInstance(void)
{
AppLogDebug("ENTER");
+
+ __pCameraStarterThread->Stop();
+ __pCameraStarterThread->Join();
delete __pCameraStarterThread;
__pCameraStarterThread = null;
AppLogDebug("EXIT");
return E_SUCCESS;
}
+bool
+CameraStarterThread::OnStart(void)
+{
+ return true;
+}
+
+void
+CameraStarterThread::OnStop(void)
+{
+ //empty implementation
+}
+
Object*
CameraStarterThread::Run(void)
{