Updated code to check if there is JVM already running

This commit is contained in:
2025-10-10 16:58:49 +01:00
parent b30b104f7a
commit c4b568dde1
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ class AniyomiBridge {
Directory supportDirectory = await getApplicationSupportDirectory();
_supportDirectoryPath = supportDirectory.path;
await _loadJarIfNeeded(supportDirectory);
Jni.spawn(
Jni.spawnIfNotExists(
dylibDir: _getDylibDir(supportDirectory),
classPath: _getClassPath(supportDirectory),
);