Added call to System.gc() to release Windows' lock on library files

This commit is contained in:
pesckal
2011-07-01 22:23:38 +00:00
parent bce9b9e2d5
commit f0363ed472
+4
View File
@@ -196,6 +196,10 @@ public class Library {
// get the path for all .jar files in this code folder
packageList = Base.packageListFromClassPath(getClassPath());
// Garbage collect any objects that have a lock on the files and prevent
// windows from manipulating this library's files.
System.gc();
}