saveSession when cancelTask

This commit is contained in:
xkeyC 2024-02-25 11:35:49 +08:00
parent c69fbc0876
commit 83571ce722

View File

@ -167,6 +167,7 @@ class DownloaderUIModel extends BaseUIModel {
if (ok == true) {
final aria2c = Aria2cManager.getClient();
await aria2c.remove(gid);
await Aria2cManager.getClient().saveSession();
}
}
}