Fix memory leaks. Make JavaXPCOMInstance hold ref to XPCOM object.
This commit is contained in:
@@ -166,6 +166,7 @@ public class TestArray {
|
||||
System.gc();
|
||||
dumpArray(array, 0, null, 0);
|
||||
|
||||
localFile = null;
|
||||
componentManager = null;
|
||||
System.gc();
|
||||
GeckoEmbed.termEmbedding();
|
||||
|
||||
Reference in New Issue
Block a user