summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qpromise.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qpromise.h')
-rw-r--r--src/corelib/thread/qpromise.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/thread/qpromise.h b/src/corelib/thread/qpromise.h
index 3dcb13f99a..d55ea1a4cd 100644
--- a/src/corelib/thread/qpromise.h
+++ b/src/corelib/thread/qpromise.h
@@ -77,6 +77,7 @@ public:
d.cancel();
finish(); // required to finalize the state
}
+ d.cleanContinuation();
}
// Core QPromise APIs