Just to be sure, wait until the filesystem is properly shutdown in the test cases
This commit is contained in:
parent
18aa7b9def
commit
9b985d98db
@ -26,4 +26,6 @@ void FuseThread::start(int argc, char *argv[]) {
|
||||
void FuseThread::stop() {
|
||||
pthread_kill(_child.native_handle(), SIGINT);
|
||||
_child.join();
|
||||
//Wait until it is properly shutdown (busy waiting is simple and doesn't hurt much here)
|
||||
while (_fuse->running()) {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user