Delete the extracted libraries when Limelight terminates

This commit is contained in:
Cameron Gutman committed 2013-12-28 17:49:28 -05:00
1 parent bddd1c10e8
commit a265f94d09
1 file changed
+3
@@ -67,6 +67,9 @@ public class LibraryHelper {
destination.delete();
destination.createNewFile();
// schedule the temporary file to be deleted when the program exits
destination.deleteOnExit();
//this is the janky java 6 way to copy a file
FileOutputStream fos = null;
try {