Commit fcd59af3 authored by Robert Loehning's avatar Robert Loehning
Browse files

Completion: Fix crash in CodeAssistant

Task-number: QTCREATORBUG-15020
Change-Id: I88f166250b89badde2162e14065adfca05573dc7
Reviewed-by: default avatarNikolai Kosjar <>
parent 43064aa5
......@@ -305,7 +305,7 @@ void CodeAssistantPrivate::proposalComputed()
// Since the request runner is a different thread, there's still a gap in which the queued
// signal could be processed after an invalidation of the current request.
if (m_requestRunner != sender())
if (!m_requestRunner || m_requestRunner != sender())
IAssistProposal *newProposal = m_requestRunner->proposal();
Markdown is supported
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