aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangcodemodel/clangcompletioncontextanalyzer.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <[email protected]>2022-07-18 18:08:01 +0200
committerEike Ziller <[email protected]>2022-07-19 07:44:18 +0000
commit5c341854e08b2dae02aa1333c76395a964581bd5 (patch)
treeb9f34dc5f86c3fc19b21fb8eae579a2d3788a0b9 /src/plugins/clangcodemodel/clangcompletioncontextanalyzer.cpp
parentb2407dbde5840b69aa076fd72d169dd90438f71e (diff)
ClangCodeModel: Fix callback handling when following symbolsv8.0.0
Make sure emitDone() is atomic with running the callback, so in case the latter starts an event loop of its own, we won't be overtaken by incoming signals, deleting the object from under us. Task-number: QTCREATORBUG-27910 Change-Id: I586d7609974662bf391b12041f416aaa2a973ecb Reviewed-by: Jarek Kobus <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/clangcodemodel/clangcompletioncontextanalyzer.cpp')
0 files changed, 0 insertions, 0 deletions