fix & optimize
- fix downloading page unbond size - auto dispose isolate
This commit is contained in:
@@ -33,6 +33,9 @@ class SftpDownloadStatus {
|
||||
switch (event.runtimeType) {
|
||||
case SftpWorkerStatus:
|
||||
status = event;
|
||||
if (status == SftpWorkerStatus.finished) {
|
||||
worker.dispose();
|
||||
}
|
||||
break;
|
||||
case double:
|
||||
progress = event;
|
||||
|
||||
Reference in New Issue
Block a user