if (_session != null)
{
WebServiceSessionProperties wss = _plugin.getWebServiceSessionProperties(_session);
try
{
new DisconnectCommand(_session, _prefs, wss).execute();
}
catch (BaseException ex)
{
_session.getApplication().showErrorDialog("Error closing SQL Validation web service", ex);
}