1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-22 17:57:46 +03:00

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

(cherry picked from commit aa54a8ca55353cca56a4d7fe24779181d50523ad)
This commit is contained in:
Pavel Czerný 2022-07-18 18:03:55 +02:00 committed by Ruben S. Montero
parent 4a6fb2f5fb
commit e9e7aa5125
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

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