diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2018-09-14 11:53:39 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2018-09-14 16:25:15 +0200 |
commit | 6b12e4a9be9283951ac234692e79c9e00cd32654 (patch) | |
tree | 9ebb51f9e8d55c23765fc0690b37e0d84e65aacb /sax | |
parent | 375fda169be2af64db91ac970b8f83d663e40f21 (diff) |
Join the thread only if launch succeeded.
Change-Id: Idee779cea587e11f6d0f7902182c9394e73d46eb
Reviewed-on: https://gerrit.libreoffice.org/60488
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 2c730685f526..447acdc68274 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -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(); |