Commit b6e0d247 authored by Jan Lindström's avatar Jan Lindström

Move server_threads.erase() under lightweight cleanup as

when plugins_are_initialized we already called unlink_thd()
and that calls server_threads.erase()
parent e68d3e45
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment