Fix several memory leaks. Also, use monitors around sensetive structures.
This commit is contained in:
@@ -71,6 +71,10 @@ public class TestJavaProxy {
|
||||
System.out.println(file.getPath());
|
||||
}
|
||||
|
||||
// cleanup
|
||||
directory = null;
|
||||
entries = null;
|
||||
|
||||
XPCOM.shutdownXPCOM(null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user