diff options
-rw-r--r-- | camera/OMXCameraAdapter/OMXCameraAdapter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp index 9c98d3e..676d04a 100644 --- a/camera/OMXCameraAdapter/OMXCameraAdapter.cpp +++ b/camera/OMXCameraAdapter/OMXCameraAdapter.cpp @@ -3059,6 +3059,8 @@ OMXCameraAdapter::~OMXCameraAdapter() { LOG_FUNCTION_NAME; + Mutex::Autolock lock(gAdapterLock); + //Return to OMX Loaded state switchToLoaded(); |