Kaydet (Commit) 2a0d0e7e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

...and ignore DisposedException from multiple Frame::close

...follow-up to d2a59bb5 "Avoid deadlock when
two threads call into Frame::close"

Change-Id: I26fae3fffce683888805efcc450065c3737ec3c5
üst d2a59bb5
......@@ -261,6 +261,9 @@ void SfxViewFrame::Exec_Impl(SfxRequest &rReq )
xTask->close(sal_True);
bClosed = true;
}
catch (css::lang::DisposedException &) {
// already closed; ignore
}
catch( CloseVetoException& )
{
bClosed = false;
......
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