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:
parent
4a6fb2f5fb
commit
e9e7aa5125
@ -54,7 +54,10 @@ public:
|
||||
|
||||
~Driver()
|
||||
{
|
||||
stream_thr.join();
|
||||
if (stream_thr.joinable())
|
||||
{
|
||||
stream_thr.join();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user