fix closing

This commit is contained in:
Bassel 2023-01-17 15:10:00 +02:00
parent 9e00d3ba42
commit fb374b6a00

View File

@ -463,7 +463,7 @@ class TransferEngine<
async close(): Promise<void> {
const results = await Promise.allSettled([
this.sourceProvider.close?.(),
this.destinationProvider.bootstrap?.(),
this.destinationProvider.close?.(),
]);
results.forEach((result) => {