Move server_threads.erase() under lightweight cleanup as
when plugins_are_initialized we already called unlink_thd() and that calls server_threads.erase()
This commit is contained in:
parent
e68d3e4557
commit
b6e0d2475c
@ -2694,9 +2694,9 @@ void* start_wsrep_THD(void *arg)
|
||||
'Error in my_thread_global_end(): 2 threads didn't exit'
|
||||
at server shutdown
|
||||
*/
|
||||
server_threads.erase(thd);
|
||||
}
|
||||
|
||||
server_threads.erase(thd);
|
||||
delete thd;
|
||||
my_thread_end();
|
||||
return(NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user