diff --git a/packages/react-ui/lib/taskWithDelayAndMinimalDuration.ts b/packages/react-ui/lib/taskWithDelayAndMinimalDuration.ts index be6b599048..aaa4226977 100644 --- a/packages/react-ui/lib/taskWithDelayAndMinimalDuration.ts +++ b/packages/react-ui/lib/taskWithDelayAndMinimalDuration.ts @@ -49,6 +49,10 @@ export class TaskWithDelayAndMinimalDuration { this.isTaskActive = true; + if (this.timeoutBeforeTaskStop) { + return; + } + if (this.timeoutBeforeTaskStart) { this.clearTimeoutBeforeTaskStart(); }