mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-23 00:50:01 +00:00
退出SA时置ready_为false Signed-off-by:baozewei@huawei.com
Signed-off-by: baozewei <baozewei@huawei.com>
This commit is contained in:
parent
99346ade9f
commit
7fe9a880e4
@ -94,6 +94,8 @@ void PrintManagerClient::OnRemoteSaDied(const wptr<IRemoteObject> &remote)
|
||||
serviceRemote->RemoveDeathRecipient(deathRecipient_);
|
||||
printServiceProxy_ = nullptr;
|
||||
deathRecipient_ = nullptr;
|
||||
std::unique_lock<std::mutex> lock(conditionMutex_);
|
||||
ready_ = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user