If you copied the pointer somewhere else, i.e. orphaned it off to someone
else, or just copied it somewhere, the deleter would write off into the
ozone.

--------------------------
Dean Roddey
The Charmed Quark Controller
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com

"If it don't have a control port, don't buy it!"


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 9:20 PM
Subject: Problem initializing and terminating XMLPlatformUtils


> I have a need to initialize and terminate the utilities multiple time for
a single process.
>
> For each lazily initialized data (or Singleton) we register an object that
will perfom its cleanup (XMLDeleterFor<type>).  It seems to me that if we
modified the XMLDeleterFor<type> to not only delete the pointer but also set
it to NULL this problem goes away.
>
> Is there a problem with doing this?
>
> Thanks,
>
> -Chris.
>
> __________________________________________________________
> Get your FREE personalized e-mail at http://www.canada.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to