in src/main/csharp/Connection.cs [140:164]
public void Close()
{
lock(this)
{
if(closed)
{
return;
}
try
{
this.xmsConnection.ExceptionListener = null;
this.xmsConnection.Stop();
this.xmsConnection.Close();
}
catch(Exception ex)
{
ExceptionUtil.WrapAndThrowNMSException(ex);
}
finally
{
closed = true;
}
}
}