[aida] Properly removing a site
r.j.rothwell at gmail.com
Sun Jul 6 21:58:53 CEST 2008
I am [still] playing around with garbage collection, which has a new twist
for me due to using SandstoneDB--if the image crashes and what is on disk
becomes out of sync with what is in memory when you reload...well, you
probably get the idea. Lots of AIDA internal references that can't go away
until you work through the in-memory list and remove anything that is not on
Anyway, I frequently get myself into trouble trying to clean up the
urlResolver for the site and find myself needing to just remove the site and
However, when I do something like:
(AIDASite named: 'datamanager') urlResolver removeObject: DataManager
singleton. "remove the domain object from the site"
SwazooServer singleton removeSite: (AIDASite named: 'datamanager'). "stop
and remove my site!"
then garbage collect like we have talked about before, and then inspect
It still exists....lots of references to it in URLResolver(s), Security
Managers, Statistics, etc...
What is the right way to just "vaporize" a site?!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Aida