fix compile in asan
This commit is contained in:
parent
02d683674d
commit
14b2307429
5
deps/oblib/src/lib/thread/thread.cpp
vendored
5
deps/oblib/src/lib/thread/thread.cpp
vendored
@ -232,10 +232,7 @@ void Thread::destroy_stack()
|
||||
pth_ = 0;
|
||||
}
|
||||
#else
|
||||
if (stack_addr_ != nullptr) {
|
||||
stack_addr_ = nullptr;
|
||||
pth_ = 0;
|
||||
}
|
||||
pth_ = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user