There is no visible errors, and I don't know if it really can harm, but why chance it? :) Exceptions happening in destructors are suppressed by GS as far as I know.
Vadim. On Wed, Oct 29, 2008 at 12:58 PM, Jim Gomes <[EMAIL PROTECTED]> wrote: > 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 <[EMAIL PROTECTED]> 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 >> > -- >From RFC 2631: In ASN.1, EXPLICIT tagging is implicit unless IMPLICIT is explicitly specified