summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2018-08-28 15:08:45 +0300
committerTor Lillqvist <tml@iki.fi>2018-08-28 15:20:01 +0300
commit31703196388b455edda1c40fd2b3b536b315848f (patch)
treeef130988db12e710b2e145551dd3691ed51e3f3a /vcl
parent037737fe5acbe874892ff886577530e344273a6c (diff)
We do want to initialise m_MainThread on iOS, too
This doesn't make the LibreOfficeLight app work much better, though. But at least it doesn't hang its event loop completely, some 10 s timer keeps firing. (But nothing sane shows up in the app UI, even if some welcome.odt document apparently does get loaded. Clearly something is waiting for something else that never happens...) Change-Id: Ieba22a5e1418d48a7dd6cacda526aca69cced4c3
Diffstat (limited to 'vcl')
-rw-r--r--vcl/headless/svpinst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 5cfd6247d897..c5d0c89b4778 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -70,8 +70,8 @@ SvpSalInstance::SvpSalInstance( std::unique_ptr<SalYieldMutex> pMutex )
m_aTimeout.tv_usec = 0;
m_nTimeoutMS = 0;
-#ifndef IOS
m_MainThread = osl::Thread::getCurrentIdentifier();
+#ifndef IOS
CreateWakeupPipe(true);
#endif
if( s_pDefaultInstance == nullptr )