fix threading problem in LibXSLTTransformer.cxx
need to wait for reader thread to terminate before deleting it.
This commit is contained in:
parent
027a8d56ba
commit
80b8744a97
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue