Index: umc/widgets/ProgressBar.js =================================================================== --- umc/widgets/ProgressBar.js (Revision 39866) +++ umc/widgets/ProgressBar.js (Arbeitskopie) @@ -114,7 +114,12 @@ })); }, - auto: function(umcpCommand, umcpOptions, callback, pollErrorMsg, stopComponent, dontHandleErrors) { + auto: function(umcpCommand, umcpOptions, callback, pollErrorMsg, stopComponent, dontHandleErrors, untilDeferred) { + if (untilDeferred && untilDeferred.isFulfilled()) { + // auto caught SIGTERM ! + this.stop(callback, stopComponent, !dontHandleErrors); + return; + } if (pollErrorMsg === undefined) { pollErrorMsg = _('Fetching information from the server failed!'); } @@ -130,7 +135,7 @@ if (result) { this.setInfo(result.component, result.info, result.steps, result.errors, result.critical); if (!result.finished) { - setTimeout(lang.hitch(this, 'auto', umcpCommand, umcpOptions, callback, pollErrorMsg, stopComponent, dontHandleErrors), 200); + setTimeout(lang.hitch(this, 'auto', umcpCommand, umcpOptions, callback, pollErrorMsg, stopComponent, dontHandleErrors, untilDeferred), 200); } } if (!result || result.finished) {