diff --git a/assets/aniyomibridge-core.jar b/assets/aniyomibridge-core.jar index 8e1fb46..0206e90 100644 Binary files a/assets/aniyomibridge-core.jar and b/assets/aniyomibridge-core.jar differ diff --git a/lib/aniyomi_bridge.dart b/lib/aniyomi_bridge.dart index 80e5095..1c136d3 100644 --- a/lib/aniyomi_bridge.dart +++ b/lib/aniyomi_bridge.dart @@ -319,7 +319,7 @@ class AniyomiBridge { _pendingRequests[message.id] = completer; _jniSenderPort.send(message); return completer.future.timeout( - const Duration(seconds: 20), + const Duration(seconds: 40), onTimeout: () => throw TimeoutException("JNI Isolate timed out") ); } @@ -426,9 +426,8 @@ class AniyomiBridge { ); } + /// Creates a stable string representation of the args String _generateCacheKey(JniIsolateMessageType messageType, Map args) { - // Create a stable string representation of the args - // final argsString = jsonEncode(args); final argsString = args.entries .map((entry) => "${entry.key}:${_getStableHashCode(entry.value)}") .join(":").hashCode;