Lock for any missing unlock callback during creation

This commit is contained in:
Ruben S. Montero committed 2018-07-12 11:37:20 +02:00
1 parent c871bb9842
commit 13eb030edb
1 file changed
+6
+6
View File
@@ -1080,6 +1080,12 @@ int VirtualMachine::insert(SqlDB * db, string& error_str)
goto error_update;
}
//-------------------------------------------------------------------------
//Check for missing unlock callbacks during creation
//-------------------------------------------------------------------------
Nebula::instance().get_lcm()->trigger(LCMAction::DISK_LOCK_SUCCESS, oid);
return 0;
error_update: