Freeing up orphaned contexts.

Started by CaveGuy, October 13, 2002, 08:16:54 AM

Previous topic - Next topic

CaveGuy

I again repeat myseld here in the New Forum .....



Now for something completily .... well at least no NaNs :)



How do I free up orphaned contexts without restarting the application?



I can (load) or (save) contexts just fine but how do free one up and release the orphans without restarting ?



IT is so close......



Please let me set it to nil or somthing.



Thanks again...

(bob)

bob@bradlee.org
Bob the Caveguy aka Lord High Fixer.

Lutz

#1
You could use 'delete' to delete symbols and their contents. Or just nil the symbols, as you suggest, which would keep the symbols but free all the contents.



I.e. after having loaded the demo application 'Hanoi' from the Demo menu, you could do a:



(map delete (symbols 'Hanoi))



This would delete all symbols and contents in context 'Hanoi'



Lutz



PS: just post in the 'New Forum' only. Ryon set this up a couple of weeks ago for better posting of code, editing messages etc. The old forum is only here as a reference, to look up past stuff, etc..