Re: Can one "reload" a package?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Can one "reload" a package?

From: sbromle <sam@sambromley.com>
Date: Tue Mar 07 2006 - 18:50:21 CET

Hi Martin,
Thank you for your response.
You mention that I should be careful to clean up everything.
The things I can think of now are
 1) Unset any commands that have been defined.
 2) Remove any new Tcl object types that have been defined (is this
possible?)
 3) Free any memory allocated/managed by the package/plugin.
 4) Close the dlopen'ed library. (If I implement load/unload myself)
Do you feel that this an exaustive list?

Thanks for the help.
Sam.
Received on Sun Apr 30 02:26:04 2006