Fix memory leaks. Make JavaXPCOMInstance hold ref to XPCOM object.
git-svn-id: svn://10.0.0.236/trunk@164510 18797224-902f-48f8-a5cc-f745e15eee43
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