fix(os): run case on win
This commit is contained in:
parent
91925ffb08
commit
f6fb34269f
|
@ -588,7 +588,9 @@ void hbThreadFuncUnexpectedStopped(void) {
|
|||
|
||||
static void *hbThreadFunc(void *param) {
|
||||
setThreadName("hb");
|
||||
#ifdef WINDOWS
|
||||
atexit(hbThreadFuncUnexpectedStopped);
|
||||
#endif
|
||||
while (1) {
|
||||
int8_t threadStop = atomic_val_compare_exchange_8(&clientHbMgr.threadStop, 1, 2);
|
||||
if (1 == threadStop) {
|
||||
|
|
Loading…
Reference in New Issue