mirror of
https://gitee.com/openharmony/communication_ipc
synced 2024-12-04 14:18:48 +00:00
fix:the problem of thread exiting
Signed-off-by: yueyan <yueyan8@huawei.com>
This commit is contained in:
parent
10bb55c710
commit
1568c45b5c
@ -311,7 +311,7 @@ bool IPCThreadSkeleton::IsSendRequesting()
|
||||
bool IPCThreadSkeleton::SetThreadType(ThreadType type)
|
||||
{
|
||||
IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
|
||||
if (current != nullptr) {
|
||||
if (current == nullptr) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user