Fixed deleting DownloadInfo

This commit is contained in:
seven332 committed 2015-08-24 17:29:58 +08:00
1 parent 4cefcd8822
commit 7b95c21030
1 file changed
+1 -1
@@ -470,7 +470,7 @@ public class DownloadManager {
infoList.remove(info);
}
// remove download info from DB
DBUtils.removeDownloadLabel(info.galleryBase.gid);
DBUtils.removeDownloadInfo(info.galleryBase.gid);
// Set mode read for available gallery spider
GallerySpider.forceSetMode(info.galleryBase, ImageHandler.Mode.READ);
// TODO do it in new thread