mirror of
https://github.com/morluto/rea.git
synced 2026-12-05 19:51:20 -05: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:
@@ -23,7 +23,7 @@ export class PythonPycService {
|
||||
constructor(readonly provider: PythonPycPort) {}
|
||||
|
||||
close(): Promise<void> {
|
||||
return this.provider.close?.() ?? Promise.resolve();
|
||||
return this.provider.close();
|
||||
}
|
||||
|
||||
async inspect(
|
||||
|
||||
Reference in New Issue
Block a user