mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
Merge pull request #1059 from MihaelaStoica/CA-203345
CA-203345: Exporting snapshot jams and cant be cancelled (when export…
This commit is contained in:
commit
91d2715a00
@ -131,7 +131,7 @@ namespace XenAdmin.Actions
|
||||
// which probably means there was an exception in the GUI code before the
|
||||
// action got going. Kill the task so that we don't block forever on
|
||||
// taskThread.Join(). Brought to light by CA-11100.
|
||||
XenAPI.Task.destroy(this.Session, this.RelatedTask.opaque_ref);
|
||||
DestroyTask();
|
||||
}
|
||||
// Test for null: don't overwrite a previous exception
|
||||
if (_exception == null)
|
||||
|
@ -117,7 +117,7 @@ namespace XenAdmin.Actions.Wlb
|
||||
// which probably means there was an exception in the GUI code before the
|
||||
// action got going. Kill the task so that we don't block forever on
|
||||
// taskThread.Join(). Brought to light by CA-11100.
|
||||
XenAPI.Task.destroy(Session, RelatedTask.opaque_ref);
|
||||
DestroyTask();
|
||||
}
|
||||
if (exception == null)
|
||||
exception = e;
|
||||
|
Loading…
Reference in New Issue
Block a user