diff options
author | Peter Jentsch <pjotr@guineapics.de> | 2011-11-05 21:41:42 +0100 |
---|---|---|
committer | Peter Jentsch <pjotr@guineapics.de> | 2011-12-25 18:20:07 +0100 |
commit | 80b8744a97502c10b87c2f869c6672f43495be12 (patch) | |
tree | 47bd6f2027f75bb086b394880f5d2c90895d09bf | |
parent | 027a8d56baf135c20c63aa0944c125374cac3a57 (diff) |
fix threading problem in LibXSLTTransformer.cxx
need to wait for reader thread to terminate before
deleting it.
-rw-r--r-- | filter/source/xsltfilter/LibXSLTTransformer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/source/xsltfilter/LibXSLTTransformer.cxx b/filter/source/xsltfilter/LibXSLTTransformer.cxx index 72c31c18ef9a..599b80c92087 100644 --- a/filter/source/xsltfilter/LibXSLTTransformer.cxx +++ b/filter/source/xsltfilter/LibXSLTTransformer.cxx @@ -485,6 +485,7 @@ namespace XSLT LibXSLTTransformer::terminate() throw (RuntimeException) { m_Reader->terminate(); + m_Reader->join(); delete(m_Reader); m_parameters.clear(); } |