...and ignore DisposedException from multiple Frame::close
...follow-up to d2a59bb53a
"Avoid deadlock when
two threads call into Frame::close"
Change-Id: I26fae3fffce683888805efcc450065c3737ec3c5
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user