Commit 19a45f7e authored by Viktor Engelmann's avatar Viktor Engelmann Committed by Allan Sandfeld Jensen
Browse files

Abort findText when destroying QWebEnginePage


In the destructor of QWebEnginePage and QQuickWebEngineView, we
now call adapter->stopFinding() to suppress callbacks that would
cause segmentation faults if a findText request is still active
at that point.

Task-number: QTBUG-58563
Change-Id: I9d5d8407ee6c28cd76bf6ecf0b62808394e151cd
Reviewed-by: default avatarPeter Varga <pvarga@inf.u-szeged.hu>
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: default avatarMichal Klocek <michal.klocek@qt.io>
parent 16d8518e
Showing with 4 additions and 0 deletions
Supports Markdown
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