mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-13 18:08:13 +00:00
Fix break
This commit is contained in:
parent
74b1016d3b
commit
981af7d085
1 changed files with 2 additions and 2 deletions
|
|
@ -107,7 +107,7 @@ final class OnnxRuntime {
|
|||
loaded = true;
|
||||
} finally {
|
||||
if (tempDirectory != null) {
|
||||
cleanUp(tempDirectory.toFile());
|
||||
cleanUp(tempDirectory.toFile(), false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -118,7 +118,7 @@ final class OnnxRuntime {
|
|||
*
|
||||
* @param file The file to remove.
|
||||
*/
|
||||
private static void cleanUp(File file, boolean on_exit_only=false) {
|
||||
private static void cleanUp(File file, boolean on_exit_only) {
|
||||
if (!file.exists()) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue