main: call poll_close() from re_thread_close()
This commit is contained in:
parent
4e4827870c
commit
daa24b983d
1 changed files with 1 additions and 0 deletions
|
@ -1005,6 +1005,7 @@ void re_thread_close(void)
|
|||
|
||||
re = pthread_getspecific(pt_key);
|
||||
if (re) {
|
||||
poll_close(re);
|
||||
free(re);
|
||||
pthread_setspecific(pt_key, NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue