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

M #-: Fix SyncRequest (#144)

This commit is contained in:
Pavel Czerný 2020-07-31 20:06:02 +02:00 committed by GitHub
parent cb4c08ca13
commit b00f33baaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,8 +149,6 @@ protected:
*/
void start()
{
end = false;
loop_thread = std::thread([&] {
NebulaLog::info("Lis", name + " started.");
@ -162,6 +160,8 @@ protected:
void loop()
{
end = false;
std::unique_lock<std::mutex> ul(lock);
while (true)