Skip to content
Commit 8f9f8d1c authored by Milian Wolff's avatar Milian Wolff
Browse files

Fix crashes when document gets destroyed directly after load

This fixes the clang code completion unit test, which used to
crash on exit since the event loop wasn't run between loading
a document and destroying it again.

To guard against this, we need to jump through a QPointer hoop,
which requires some lambda boiler plate but otherwise isn't too bad.
parent 65c75e0c
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