mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 15:54:35 +01:00
fix & optimize
- fix downloading page unbond size - auto dispose isolate
This commit is contained in:
@@ -24,6 +24,10 @@ class SftpDownloadWorker {
|
||||
final worker = Worker();
|
||||
final String? privateKey;
|
||||
|
||||
void dispose() {
|
||||
worker.dispose();
|
||||
}
|
||||
|
||||
/// Initiate the worker (new thread) and start listen from messages between
|
||||
/// the threads
|
||||
Future<void> init() async {
|
||||
|
||||
Reference in New Issue
Block a user