Checks if the workspace can be safely closed.
Checks if the workspace can be safely closed. This is the case for durable and confluent workspaces. For an in-memory workspace, the user is presented with a confirmation dialog.
the workspace to check
a reference window if a dialog is presented
true if it is ok to close the workspace, false if the request was denied
Checks if the workspace may be closed (calling check) and if so, disposes the workspace.
Checks if the workspace may be closed (calling check) and if so, disposes the workspace.
the workspace to check
a reference window if a dialog is presented
true if the space was closed
Closes the provided workspace without checking.