Merge pull request !12289 from ZihaoWU/windowInspectorTDD
This commit is contained in:
openharmony_ci 2025-01-22 04:14:25 +00:00 committed by Gitee
commit 82f0d946ec
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -106,10 +106,9 @@ void WindowInspector::UnregisterGetWMSWindowListCallback(uint32_t windowId)
void WindowInspector::UnregisterAllCallbacks()
{
isConnectServerSuccess_ = false;
setWMSCallbackFunc_(nullptr);
setWMSCallbackFunc_ = nullptr;
sendWMSMessageFunc_ = nullptr;
isConnectServerSuccess_ = false;
std::unique_lock<std::mutex> lock(callbackMutex_);
getWMSWindowListCallbacks_.clear();
}