diff --git a/src/corelib/thread/qthread_p.h b/src/corelib/thread/qthread_p.h index d6fd99e5ba2..4918fd7b852 100644 --- a/src/corelib/thread/qthread_p.h +++ b/src/corelib/thread/qthread_p.h @@ -187,7 +187,7 @@ public: bool running; bool finished; bool isInFinish; //when in QThreadPrivate::finish - std::atomic interruptionRequested; + std::atomic interruptionRequested = false; bool exited; int returnCode;