mirror of
https://gitee.com/openharmony/window_window_manager
synced 2025-05-13 14:46:40 +00:00
commit
82f0d946ec
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user