File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
objectbox-java/src/main/java/io/objectbox Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -453,6 +453,7 @@ public static boolean isDatabaseOpen(File directory) throws IOException {
453
453
*/
454
454
@ Experimental
455
455
public static long sysProcMeminfoKb (String key ) {
456
+ NativeLibraryLoader .ensureLoaded ();
456
457
return nativeSysProcMeminfoKb (key );
457
458
}
458
459
@@ -475,6 +476,7 @@ public static long sysProcMeminfoKb(String key) {
475
476
*/
476
477
@ Experimental
477
478
public static long sysProcStatusKb (String key ) {
479
+ NativeLibraryLoader .ensureLoaded ();
478
480
return nativeSysProcStatusKb (key );
479
481
}
480
482
@@ -720,6 +722,7 @@ public static boolean deleteAllFiles(File objectStoreDirectory) {
720
722
if (isFileOpen (canonicalPath )) {
721
723
throw new IllegalStateException ("Cannot delete files: store is still open" );
722
724
}
725
+ NativeLibraryLoader .ensureLoaded ();
723
726
return nativeRemoveDbFiles (canonicalPath , true );
724
727
}
725
728
You can’t perform that action at this time.
0 commit comments