refactor(lifecycle): require cleanup for offline providers

Require resource-owning provider ports to expose cleanup and migrate test adapters to delegate or explicitly close their own resources.
This commit is contained in:
morluto committed 2026-10-27 06:49:07 +08:00
1 parent b529bd84d7
commit fc7f042c8c
21 files changed
+61 -17

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ import type { Result } from "../../domain/result.js";
/** Replaceable offline metadata reader with no target-execution or decryption authority. */
export interface Il2cppMetadataPort {
readonly identity: ProviderIdentity;
close?(): Promise<void>;
close(): Promise<void>;
inspect(
input: Il2cppMetadataProviderInput,
options?: ExecutionOptions,