diff options
Diffstat (limited to 'src/corelib/thread/qthread_win.cpp')
-rw-r--r-- | src/corelib/thread/qthread_win.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/thread/qthread_win.cpp b/src/corelib/thread/qthread_win.cpp index a0fac8eff2..d49a6a9a8e 100644 --- a/src/corelib/thread/qthread_win.cpp +++ b/src/corelib/thread/qthread_win.cpp @@ -377,6 +377,7 @@ void QThreadPrivate::finish(void *arg, bool lockAnyway) d->running = false; d->finished = true; d->isInFinish = false; + d->interruptionRequested = false; if (!d->waiters) { CloseHandle(d->handle); @@ -446,6 +447,7 @@ void QThread::start(Priority priority) d->finished = false; d->exited = false; d->returnCode = 0; + d->interruptionRequested = false; /* NOTE: we create the thread in the suspended state, set the |