Skip to content

An open-source cross-platform alternative to AirDrop

fix: close all isolates properly

Tien Do Nam140546591ebc
diff --git a/app/assets/CHANGELOG.md b/app/assets/CHANGELOG.md
index f6a76d43..33382f88 100644
--- a/app/assets/CHANGELOG.md
+++ b/app/assets/CHANGELOG.md
@@ -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)
diff --git a/common/lib/src/isolate/parent/parent_isolate_provider.dart b/common/lib/src/isolate/parent/parent_isolate_provider.dart
index c0ada288..4b5cd8e8 100644
--- a/common/lib/src/isolate/parent/parent_isolate_provider.dart
+++ b/common/lib/src/isolate/parent/parent_isolate_provider.dart
@@ -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;
}
}