activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Chekan" <>
Subject NMS: Dispose usage
Date Wed, 29 Oct 2008 03:37:19 GMT
I noticed that all over NMS code the Dispose(bool) is implemented so
that it will call Close() regardless either it is called from
destructor or Dispose().
As result, if it is called from destructor, an object will call its
member disposeOf() when there is no guarantee that this member still
I think all Close() should be called from "if(disposing)".


>From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT
is explicitly specified

View raw message