summaryrefslogtreecommitdiff
path: root/eventattacher
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-08-04 23:36:13 +0200
committerMichael Stahl <mstahl@redhat.com>2015-08-04 23:50:54 +0200
commit62de18ab98289fc80984299f13ad71e4a4452ea3 (patch)
tree0be2ff3735dc1be6507611279f1efa8e9ca86558 /eventattacher
parentc1617b8d74b5e232efeec864241ada89f874fe63 (diff)
tdf#76845: wizards: fix Web wizard XSLT deadlock on Windows
The web wizard runs some XSLT over the exported file. It registers a handler that is called when the output stream is closed, and this Process.streamClosedHandler() calls terminate(), which causes the deadlock, because it wants to join() the extra XSLT thread but the handler is actually called from the XSLT thread itself. Fix that by moving the terminate() to another function that runs in the main thread. It does not deadlock on Unixes because osl_joinWithThread() actually detects an attempt to join the calling thread and returns early. Change-Id: Ia176562fa28b97c7e8956c1e8975c9aa6ee23236
Diffstat (limited to 'eventattacher')
0 files changed, 0 insertions, 0 deletions