Skip to content

Commit

Permalink
Move server_threads.erase() under lightweight cleanup as
Browse files Browse the repository at this point in the history
when plugins_are_initialized we already called unlink_thd()
and that calls server_threads.erase()
  • Loading branch information
Jan Lindström committed Jun 12, 2019
1 parent e68d3e4 commit b6e0d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/wsrep_mysqld.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b6e0d24

Please sign in to comment.