fix: close all isolates properly

This commit is contained in:
Tien Do Nam
2024-11-03 14:58:31 +01:00
parent d240a5b0d8
commit 140546591e
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -1,3 +1,7 @@
## 1.16.1 (unreleased)
- fix(android): properly close app on back gesture (@Tienisto)
## 1.16.0 (2024-11-03)
- feat: improve transfer speed if the sending device is the bottleneck by using Rust as HTTP client and multithreading (@Tienisto)
@@ -143,6 +143,9 @@ class IsolateDisposeAction extends ReduxAction<IsolateController, ParentIsolateS
state.httpScanDiscovery?.isolate.kill();
state.httpTargetDiscovery?.isolate.kill();
state.multicastDiscovery?.isolate.kill();
for (final httpUpload in state.httpUpload) {
httpUpload.isolate.kill();
}
return state;
}
}