MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / doProgressEndOnMainThread

Method doProgressEndOnMainThread

Gui/ProgressPanel.cpp:578–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576}
577
578void
579ProgressPanel::doProgressEndOnMainThread(const NodePtr& node)
580{
581 ProgressTaskInfoPtr task;
582 {
583 QMutexLocker k(&_imp->tasksMutex);
584 task = _imp->findTask(node);
585 }
586
587 if (!task) {
588 return;
589 }
590 task->cancelTask(false, 0);
591 task.reset();
592}
593
594void
595ProgressPanel::endTask(const NodePtr& node)

Callers

nothing calls this directly

Calls 3

findTaskMethod · 0.80
cancelTaskMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected