diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2018-09-14 11:53:39 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-12-06 09:08:00 +0100 |
commit | bfacba6b23ab90fde3303409976809c0e1624a65 (patch) | |
tree | c7ecae4ad08f31553a31e67318c370dc1abd4811 /sax | |
parent | c9cc62fc9cf6b017454589f673ef5e69ebe24b91 (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>
Reviewed-on: https://gerrit.libreoffice.org/60544
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 5f3a3de26fca5e3e37e4a08940fa4bf9da5e5ecc)
(cherry picked from commit c595e7c60b7040510a9541e8fb8535db60a356d3)
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 9d4a4fe29d86..9959489eed3f 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -825,7 +825,6 @@ void FastSaxParserImpl::parseStream(const InputSource& maStructSource) { rtl::Reference<ParserThread> xParser; xParser = new ParserThread(this); - aEnsureFree.setThread(xParser); xParser->launch(); aEnsureFree.setThread(xParser); bool done = false; |