Kaydet (Commit) 6b12e4a9 authored tarafından Michael Meeks's avatar Michael Meeks

Join the thread only if launch succeeded.

Change-Id: Idee779cea587e11f6d0f7902182c9394e73d46eb
Reviewed-on: https://gerrit.libreoffice.org/60488
Tested-by: Jenkins
Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst 375fda16
......@@ -814,8 +814,8 @@ void FastSaxParserImpl::parseStream(const InputSource& rStructSource)
{
rtl::Reference<ParserThread> xParser;
xParser = new ParserThread(this);
aEnsureFree.setThread(xParser);
xParser->launch();
aEnsureFree.setThread(xParser);
bool done = false;
do {
rEntity.maConsumeResume.wait();
......
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