Skip to content

Commit 4dd58ea

Browse files
Enable the stop API after initializing driver (#85)
1 parent 275e557 commit 4dd58ea

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

org/enigma/EnigmaRunner.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,13 @@ public void run()
193193
return;
194194
}
195195

196+
try {
197+
DRIVER.libEnableStopAPI();
198+
} catch (UnsatisfiedLinkError ule) {
199+
// enigma only added this recently
200+
// sink the error for now
201+
}
202+
196203
while (LGM.LOADING_PROJECT) {
197204
try {
198205
Thread.sleep(100);

org/enigma/backend/EnigmaDriver.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ protected List<String> getFieldOrder()
3030
}
3131
}
3232

33+
public void libEnableStopAPI();
3334
public void libStopBuild();
3435

3536
public String libInit(EnigmaCallbacks ef);

0 commit comments

Comments
 (0)