activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Gomes" <>
Subject Re: NMS: Dispose usage
Date Wed, 29 Oct 2008 19:58:35 GMT
Thanks, Vadim.  Let me take a look at it and see what's going on.

In the meantime, can you reproduce an error with the code as it is
currently written?

On 10/28/08, Vadim Chekan <> wrote:
> 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
> exist.
> I think all Close() should be called from "if(disposing)".
> Vadim.
> --
> From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT
> is explicitly specified

View raw message