I create a dll in my program using...

set mydll = new dll

If no calls are made to the dll for a period of time is there a way to destroy the dll from inside the dll or do I need to do it from my program using a timer.