Kaydet (Commit) 5f755c64 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Michael Weghorn

ignore disposed toplevels

Change-Id: Ib5a9bad2537d43f7b6588dbdb958e4cdd34f7023
Reviewed-on: https://gerrit.libreoffice.org/68385
Tested-by: Jenkins
Reviewed-by: 's avatarMichael Weghorn <m.weghorn@posteo.de>
üst 20acbff2
...@@ -1569,7 +1569,11 @@ void TopLevelWindowLocker::decBusy() ...@@ -1569,7 +1569,11 @@ void TopLevelWindowLocker::decBusy()
{ {
// unlock locked toplevel windows from being closed now busy is over // unlock locked toplevel windows from being closed now busy is over
for (auto& a : m_aBusyStack.top()) for (auto& a : m_aBusyStack.top())
{
if (a->IsDisposed())
continue;
a->DecModalCount(); a->DecModalCount();
}
m_aBusyStack.pop(); m_aBusyStack.pop();
} }
......
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