Skip to content
Snippets Groups Projects
Commit de472375 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

conversation: call onDone before announcing to the client

Change-Id: Ib943587e49bcbf16104cf3bbc206e30bc3448f82
parent 60691866
Branches
No related tags found
No related merge requests found
......@@ -652,10 +652,10 @@ Conversation::sendMessage(const Json::Value& value,
auto commit = sthis->pimpl_->repository_->commitMessage(
Json::writeString(wbuilder, value));
sthis->clearFetched();
sthis->pimpl_->announce(commit);
lk.unlock();
if (cb)
cb(!commit.empty(), commit);
sthis->pimpl_->announce(commit);
}
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment