mirror of
https://invent.kde.org/graphics/okular
synced 2024-07-17 02:37:04 +00:00
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
This commit is contained in:
parent
e7702e0a8c
commit
662fa69a2d
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue