Commit 662fa69a authored by Albert Astals Cid's avatar Albert Astals Cid Committed by Albert Astals Cid

Fix crash on rotation jobs

We don't need to delete the threadweaver job, threadweaver does it by itself,
and if we call deleteLater it may happen that the main thread deletes it
and then when the threadweaver thread tries to call the delete things are
gone and it goes kaboom

BUGS: 382725
parent e7702e0a
......@@ -43,8 +43,6 @@ void PageController::imageRotationDone(const ThreadWeaver::JobPointer &j)
emit rotationFinished( job->page()->m_number, job->page()->m_page );
}
job->deleteLater();
}
#include "moc_pagecontroller_p.cpp"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment