summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2018-02-01 13:52:00 +0100
committerMichael Stahl <mstahl@redhat.com>2018-02-01 20:11:37 +0100
commit5357ca82846ea7147ad61e9340f25647a5934eb0 (patch)
tree1071df72bc57f3b8d5b95a0ebc28bc8d7915f5fc /slideshow
parentef3d1bf9e35d4753c52883137e07236ce8617f2f (diff)
tdf#114815 pyuno: avoid 2 threads initing python in parallel
According to the crash reports, it's possible for the grammar checking thread to call GetGrammarChecker, instantiating lightproof, at the same time as the main thread instantiates LngSvcMgr, which also instantiates (some?) (all?) grammar checkers. Ensure that pyuno_loader::CreateInstance() initialises Python only once with a C++11 thread safe static. Change-Id: I5b1faba9107355c508831a078366e4a29fdbfadf
Diffstat (limited to 'slideshow')
0 files changed, 0 insertions, 0 deletions