Kaydet (Commit) 5f3a3de2 authored tarafından Michael Meeks's avatar Michael Meeks Kaydeden (comit) Andras Timar

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>
Reviewed-on: https://gerrit.libreoffice.org/60544Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst d06a8ce1
...@@ -825,8 +825,8 @@ void FastSaxParserImpl::parseStream(const InputSource& maStructSource) ...@@ -825,8 +825,8 @@ void FastSaxParserImpl::parseStream(const InputSource& maStructSource)
{ {
rtl::Reference<ParserThread> xParser; rtl::Reference<ParserThread> xParser;
xParser = new ParserThread(this); xParser = new ParserThread(this);
aEnsureFree.setThread(xParser);
xParser->launch(); xParser->launch();
aEnsureFree.setThread(xParser);
bool done = false; bool done = false;
do { do {
rEntity.maConsumeResume.wait(); 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