I am using MySQL c++ connector (1.0.5) , recently I moved get_driver_instance() and connect() methods to secondary thread then I am getting below error.
Error in my_thread_global_end(): 1 threads didn't exit
After googling I found that mysql thread isn't exiting. Is there a method in c++ wrapper to do cleanup?