mirror of
https://github.com/morluto/rea.git
synced 2026-11-10 00:36:35 +00:00
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:
1 parent
b529bd84d7
commit
fc7f042c8c
21 files changed
+61
-17
No files matched your search
@@ -44,7 +44,7 @@ export class Il2cppMetadataService {
|
||||
async close(): Promise<void> {
|
||||
let failure: AnalysisError | undefined;
|
||||
for (const close of [
|
||||
() => this.provider.close?.(),
|
||||
() => this.provider.close(),
|
||||
() => this.seeds?.close(),
|
||||
]) {
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user