mangayomi-mirror/lib/modules
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
..
anime update dependencies & update riverpod provider declarations 2026-01-08 14:27:08 +01:00
browse Add service disposal and lifecycle cleanup 2026-01-13 01:11:19 +01:00
calendar update dependencies & update riverpod provider declarations 2026-01-08 14:27:08 +01:00
history update dependencies & update riverpod provider declarations 2026-01-08 14:27:08 +01:00
library update dependencies & update riverpod provider declarations 2026-01-08 14:27:08 +01:00
main_view update dependencies & update riverpod provider declarations 2026-01-08 14:27:08 +01:00
manga Add service disposal and lifecycle cleanup 2026-01-13 01:11:19 +01:00
more categories screen clean up 2026-01-08 18:56:23 +01:00
novel update dependencies & update riverpod provider declarations 2026-01-08 14:27:08 +01:00
tracker_library Use the localized extension 2025-12-29 23:20:08 +01:00
updates Refactor tabbed screens into base class 2025-12-29 03:28:04 +01:00
webview Fix Riverpod lifecycle error 2026-01-08 21:47:51 +01:00
widgets Group related functions using an extension 2025-12-29 23:19:31 +01:00