Mariabackup: Detach the threads at exit

This commit is contained in:
Marko Mäkelä 2017-09-06 16:29:58 +03:00
commit b429e8cada
2 changed files with 2 additions and 2 deletions

View file

@ -1938,7 +1938,7 @@ cleanup:
ctxt->ret = ret;
os_thread_exit(NULL);
os_thread_exit();
OS_THREAD_DUMMY_RETURN;
}

View file

@ -840,7 +840,7 @@ stop_thread:
os_event_set(kill_query_thread_stopped);
os_thread_exit(NULL);
os_thread_exit();
OS_THREAD_DUMMY_RETURN;
}