mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 05:34:45 +08:00
saveSession when cancelTask
This commit is contained in:
@ -167,6 +167,7 @@ class DownloaderUIModel extends BaseUIModel {
|
||||
if (ok == true) {
|
||||
final aria2c = Aria2cManager.getClient();
|
||||
await aria2c.remove(gid);
|
||||
await Aria2cManager.getClient().saveSession();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user