Update LoadLibrary.java
This commit is contained in:
parent
8e11223f81
commit
4863ae7001
|
@ -130,7 +130,7 @@ public class LoadLibrary {
|
||||||
if (Files.notExists(tempFile)) {
|
if (Files.notExists(tempFile)) {
|
||||||
Files.copy(libInputStream, tempFile);
|
Files.copy(libInputStream, tempFile);
|
||||||
}
|
}
|
||||||
libInputStream.close();
|
if (libInputStream != null) libInputStream.close();
|
||||||
System.load(tempFile.toFile().getAbsolutePath());
|
System.load(tempFile.toFile().getAbsolutePath());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user