NBA2K1
8b1f7fc581
Add service disposal and lifecycle cleanup
...
This commit improves memory management, reduces redundant interpreter
instantiation, and standardizes service usage patterns.
- Add `dispose()` to `ExtensionService` interface and implement it across
Dart, JS, LNReader, and Mihon services.
- Replace repeated interpreter creation in `DartExtensionService` with a
persistent `_interpreter` instance initialized once in the constructor.
- Add disposal logic for JS DOM selector and Cheerio instances to prevent
memory leaks.
- Introduce `withExtensionService()` helper to ensure services are always
disposed after use.
- Update call sites across the codebase to use `withExtensionService()`
or manual try/finally disposal.
- Improve isolate service message handling by extracting `responsePort`
earlier.
- Ensure safer defaults (e.g., returning empty lists, const lists) when
service calls fail.
2026-01-13 01:11:19 +01:00
Moustapha Kodjo Amadou
430e81e021
Refactor and update dependencies for Isar and Riverpod
2025-10-29 13:08:42 +01:00
Moustapha Kodjo Amadou
600a699708
feat: Add use sourceId property if not null to get source model
2025-08-28 12:12:23 +01:00
Schnitzel5
9395888c6a
added support for Mihon extensions via ApkBridge
2025-08-20 21:06:26 +02:00
Moustapha Kodjo Amadou
3e401c8af2
dart format
2025-02-23 15:31:49 +01:00
kodjomoustapha
a41ccaff22
fix & reformat
2024-12-20 10:15:15 +01:00
Yegor Shovkun
f0cf52813a
refactor: refactor extension services
2024-12-14 13:55:40 +02:00
Yegor Shovkun
adbd1529f7
fix: cs fix (reformat with 120 line length)
2024-12-14 12:38:56 +02:00
kodjomoustapha
ee1529be24
update
2024-11-20 17:59:12 +01:00
kodjomoustapha
08ebedbe37
+
2024-09-04 12:07:13 +01:00
kodjomoustapha
9a096db785
fix #234
2024-08-03 07:42:10 +01:00
kodjomoustapha
9df0fe73e1
code refactor
2024-05-23 11:28:50 +01:00
kodjomoustapha
d0ee7d3260
Fix extension getHeaders method
2024-04-15 12:13:31 +01:00
kodjomoustapha
d49de188a4
rename
2024-03-14 17:46:53 +01:00
kodjomoustapha
f71c40f0f7
feat: add more options to manage covers
2024-02-16 19:31:06 +01:00
kodjomoustapha
e33b1b55f0
++
2024-02-05 19:56:44 +01:00
kodjomoustapha
ca81405f43
refactor & some fix
2024-02-03 17:58:11 +01:00
kodjomoustapha
64b1f91dce
Refactor
2024-01-06 12:52:18 +01:00
kodjomoustapha
499002751c
Revert "Revert "code refactor , deobfuscator method , extension preferences""
...
This reverts commit 530763dafe .
2023-09-11 18:05:31 +01:00
kodjomoustapha
530763dafe
Revert "code refactor , deobfuscator method , extension preferences"
...
This reverts commit 3ff647bb01 .
2023-09-11 18:04:49 +01:00
kodjomoustapha
3ff647bb01
code refactor , deobfuscator method , extension preferences
2023-09-11 18:01:47 +01:00
kodjomoustapha
1340ffa88c
Added feature that allow to import local anime
2023-08-24 18:21:02 +01:00
kodjomoustapha
13b1fea0a3
Feature : Added MyAnimeList tracker service
2023-07-15 17:35:00 +01:00
kodjomoustapha
b38f737c96
Big changes ( added support for external sources )
2023-07-07 22:38:49 +01:00
kodjomoustapha
3d6b07de02
source: add mangadex
2023-06-08 16:36:13 +01:00
kodjomoustapha
69374dff86
+
2023-05-29 18:39:17 +01:00
kodjomoustapha
8c6ca1c5b4
add madara new sources
2023-05-26 20:52:08 +01:00
kodjomoustapha
07b8f4303a
Finish migration hive to isar database & big changes
2023-05-17 14:22:19 +01:00
kodjodevf
0d7fbf3ca6
mangagere http header fix & add comick scanlator
2023-05-02 12:12:43 +01:00
kodjodevf
d9dd709b5b
refactoring
2023-05-01 20:21:12 +01:00
kodjodevf
f7153da414
fix*
2023-04-26 17:21:47 +01:00
kodjodevf
cabf9fcc63
chapter filter feature
2023-04-26 12:55:13 +01:00
kodjodevf
aa21f07b13
webview & cloudflare bypass
2023-04-24 13:06:07 +01:00
kodjodevf
3ff0715f4d
fix
2023-04-20 18:03:22 +01:00
kodjodevf
35b01b51c3
add chapter download module
2023-04-14 17:50:03 +01:00
kodjodevf
2636d96ba5
riverpod generator for theme providers
2023-04-11 10:49:28 +01:00
kodjodevf
1ea161c615
mangathemesia multi source , impl search feature
2023-04-09 16:59:37 +01:00