Kaydet (Commit) 971cad36 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

tdf#124923: Need to call InitVCL() on iOS before using SolarMutexGuard

Change-Id: If5781ae101e58c26368e57787cb301f84ffa82a5
üst 67580722
......@@ -4521,6 +4521,10 @@ static void lo_runLoop(LibreOfficeKit* /*pThis*/,
LibreOfficeKitWakeCallback pWakeCallback,
void* pData)
{
#ifdef IOS // Maybe ANDROID, too?
InitVCL();
#endif
SolarMutexGuard aGuard;
vcl::lok::registerPollCallbacks(pPollCallback, pWakeCallback, pData);
lo_startmain(nullptr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment