diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-05-02 12:09:32 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-05-03 11:02:35 +0000 |
commit | 4861f5c1835d0de315dc1ec49e52eaa92a7a1eca (patch) | |
tree | 12ebd4bad427502fbbf0968bf38f09a6585784ea /src/plugins/diffeditor/diffeditordocument.cpp | |
parent | 44daf5b1e38f0553119fe4bf23a9c811824eb42a (diff) | |
download | qt-creator-4861f5c1835d0de315dc1ec49e52eaa92a7a1eca.tar.gz |
Clang: Fix heap-use-after-free in ClangCurrentDocumentFilter
...when closing editors fast (e.g. holding Ctrl+W).
Due to the queued connection the slot was invoked after the deletion of
the editor. There is no point in having a queued connection here, so
remove it.
Task-number: QTCREATORBUG-20191
Change-Id: I3872f8046b56f93c9aac832feccfd911d39e5995
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/plugins/diffeditor/diffeditordocument.cpp')
0 files changed, 0 insertions, 0 deletions