- The dispatcher worker exits when socket is disconnected and then module_cleanup is called.
Change-Id: I4be7b552f44aac331c907e8fc21d121e310ee484
Name: mused
Summary: A multimedia daemon
-Version: 0.3.149
+Version: 0.3.150
Release: 0
Group: System/Libraries
License: Apache-2.0
ms_module_dispatch_lock(m);
dispatch_ret = ms_module_dispatch(m);
- if (dispatch_ret != MM_ERROR_NONE)
+ if (dispatch_ret != MM_ERROR_NONE) {
LOGE("destroy dispatch failed 0x%x", dispatch_ret);
+ ms_module_dispatch_unlock(m);
+ return TRUE;
+ }
+
ms_module_dispatch_unlock(m);
return FALSE;