mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Added call to System.gc() to release Windows' lock on library files
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user