Kaydet (Commit) 9d7db731 authored tarafından Andras Timar's avatar Andras Timar

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>
(cherry picked from commit 3fb90f6e)
Reviewed-on: https://gerrit.libreoffice.org/63062
Tested-by: Jenkins
Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst 9e0770ea
......@@ -398,7 +398,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