1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

M #-: Fix oned segfault after driver init failed (#2217)

This commit is contained in:
Pavel Czerný 2022-07-18 18:03:55 +02:00 committed by GitHub
parent f621ae8cb9
commit aa54a8ca55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,10 @@ public:
~Driver() ~Driver()
{ {
stream_thr.join(); if (stream_thr.joinable())
{
stream_thr.join();
}
} }
/** /**