mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 05:23:44 +08:00
saveSession when cancelTask
This commit is contained in:
parent
c69fbc0876
commit
83571ce722
@ -167,6 +167,7 @@ class DownloaderUIModel extends BaseUIModel {
|
|||||||
if (ok == true) {
|
if (ok == true) {
|
||||||
final aria2c = Aria2cManager.getClient();
|
final aria2c = Aria2cManager.getClient();
|
||||||
await aria2c.remove(gid);
|
await aria2c.remove(gid);
|
||||||
|
await Aria2cManager.getClient().saveSession();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user