mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Fix formatting
This commit is contained in:
parent
cd2c891a34
commit
567133235d
1 changed files with 4 additions and 2 deletions
|
|
@ -219,9 +219,11 @@ final class OnnxRuntime {
|
|||
logger.log(Level.FINE, "Extracted native library '" + library + "' from resource path");
|
||||
}
|
||||
}
|
||||
} catch(Exception e) {
|
||||
if(systemLoad) // We only throw if we're loading the library, otherwise failure is okay
|
||||
} catch (Exception e) {
|
||||
if (systemLoad) {
|
||||
// We only throw if we're loading the library, otherwise failure is okay
|
||||
throw e;
|
||||
}
|
||||
} finally {
|
||||
cleanUp(tempFile, !systemLoad);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue