Kaydet (Commit) 3fb90f6e authored tarafından Andras Timar's avatar Andras Timar Kaydeden (comit) Michael Meeks

update main thread "properly" in headless case

Change-Id: Ie76555a007db13e89f06c85d02beebf84eadea0b
Reviewed-on: https://gerrit.libreoffice.org/62912Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
Tested-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst 2bc5ab31
......@@ -390,7 +390,10 @@ bool SvpSalInstance::IsMainThread() const
void SvpSalInstance::updateMainThread()
{
if (!IsMainThread())
{
m_MainThread = osl::Thread::getCurrentIdentifier();
ImplGetSVData()->mnMainThreadId = osl::Thread::getCurrentIdentifier();
}
}
bool SvpSalInstance::DoYield(bool bWait, bool bHandleAllCurrentEvents)
......
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