File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/main/java/au/grapplerobotics Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class GrappleJNI {
10
10
public static final Cleaner cleaner = Cleaner .create ();
11
11
12
12
static boolean libraryLoaded = false ;
13
- static RuntimeLoader <GrappleJNI > loader = null ;
13
+ // static RuntimeLoader<GrappleJNI> loader = null;
14
14
15
15
public static class Helper {
16
16
private static AtomicBoolean extractOnStaticLoad = new AtomicBoolean (true );
@@ -27,8 +27,9 @@ public static void setExtractOnStaticLoad(boolean load) {
27
27
static {
28
28
if (Helper .getExtractOnStaticLoad ()) {
29
29
try {
30
- loader = new RuntimeLoader <>("grapplefrcdriver" , RuntimeLoader .getDefaultExtractionRoot (), GrappleJNI .class );
31
- loader .loadLibrary ();
30
+ RuntimeLoader .loadLibrary ("grapplefrcdriver" );
31
+ // loader = new RuntimeLoader<>("grapplefrcdriver", RuntimeLoader.getDefaultExtractionRoot(), GrappleJNI.class);
32
+ // loader.loadLibrary();
32
33
} catch (IOException ex ) {
33
34
ex .printStackTrace ();
34
35
System .exit (1 );
You can’t perform that action at this time.
0 commit comments