mirror of
https://github.com/localsend/localsend.git
synced 2026-06-23 04:10:07 +00:00
fix: close all isolates properly
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user