|
-
Jan 7th, 2006, 10:32 PM
#1
Thread Starter
Lively Member
[RESOLVED] Forcing a class to "die" ?
Here's the problem - I have a plugin loading mechanism that dynamically loads classes like this:
- Define a variable as the class
- put the variable in an arraylist
The problem now is that when I attempt to unload such a plugin using .remove() with the arraylist, the class instance is still there. I noticed this when one of the plugins (a basic HTTPd) was still listening on a port when it should have been unloaded.
I've already tried using
System.runFinalization();
System.gc();
Thanks for any help!
Last edited by MalcolmCarmen; Jan 16th, 2006 at 03:00 PM.
^_^
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|