[CA-228723] Use sync destroy method in the cleanup action

This commit is contained in:
Callum McIntyre 2016-11-09 16:32:16 +00:00
parent d7060cbdb1
commit 638d8fe9e6

View File

@ -395,7 +395,7 @@ namespace XenAdmin.Wizards.PatchingWizard
{
Pool_update.pool_clean(session, poolUpdate.opaque_ref);
if(!poolUpdate.AppliedOnHosts.Any())
Pool_update.async_destroy(session, poolUpdate.opaque_ref);
Pool_update.destroy(session, poolUpdate.opaque_ref);
}
catch (Failure f)
{