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

Method doProgressEndOnMainThread

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

Source from the content-addressed store, hash-verified

562}
563
564void
565ProgressPanel::doProgressEndOnMainThread(const NodePtr& node)
566{
567 ProgressTaskInfoPtr task;
568 {
569 QMutexLocker k(&_imp->tasksMutex);
570 task = _imp->findTask(node);
571 }
572
573 if (!task) {
574 return;
575 }
576 task->cancelTask(false, 0);
577 task.reset();
578}
579
580void
581ProgressPanel::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