Skip to content

Commit

Permalink
Enable the stop API after initializing driver (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBColton authored Aug 9, 2020
1 parent 275e557 commit 4dd58ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions org/enigma/EnigmaRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,13 @@ public void run()
return;
}

try {
DRIVER.libEnableStopAPI();
} catch (UnsatisfiedLinkError ule) {
// enigma only added this recently
// sink the error for now
}

while (LGM.LOADING_PROJECT) {
try {
Thread.sleep(100);
Expand Down
1 change: 1 addition & 0 deletions org/enigma/backend/EnigmaDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ protected List<String> getFieldOrder()
}
}

public void libEnableStopAPI();
public void libStopBuild();

public String libInit(EnigmaCallbacks ef);
Expand Down

0 comments on commit 4dd58ea

Please sign in to comment.