fix threading problem in LibXSLTTransformer.cxx

need to wait for reader thread to terminate before
deleting it.
This commit is contained in:
Peter Jentsch 2011-11-05 21:41:42 +01:00
parent 027a8d56ba
commit 80b8744a97

View file

@ -485,6 +485,7 @@ namespace XSLT
LibXSLTTransformer::terminate() throw (RuntimeException) LibXSLTTransformer::terminate() throw (RuntimeException)
{ {
m_Reader->terminate(); m_Reader->terminate();
m_Reader->join();
delete(m_Reader); delete(m_Reader);
m_parameters.clear(); m_parameters.clear();
} }