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