Fix memory leaks. Make JavaXPCOMInstance hold ref to XPCOM object.

This commit is contained in:
pedemont@us.ibm.com
2004-10-27 17:10:03 +00:00
parent 1da41b2f61
commit 9056a66f77
5 changed files with 39 additions and 23 deletions

View File

@@ -166,6 +166,7 @@ public class TestArray {
System.gc();
dumpArray(array, 0, null, 0);
localFile = null;
componentManager = null;
System.gc();
GeckoEmbed.termEmbedding();