mirror of
https://github.com/dazedcat19/FMD2.git
synced 2024-10-07 01:03:37 +00:00
favoritethread,silentthread: clean http and info on loop (fixed #131)
This commit is contained in:
parent
5d8a1b07ec
commit
b172f2769b
@ -305,9 +305,10 @@ begin
|
||||
|
||||
with FContainer do
|
||||
try
|
||||
FMangaInformation.HTTP.Reset;
|
||||
FMangaInformation.MangaInfo.Clear;
|
||||
FMangaInformation.Module := FavoriteInfo.Module;
|
||||
FMangaInformation.isGetByUpdater := False;
|
||||
FMangaInformation.MangaInfo.Clear;
|
||||
// get new manga info
|
||||
FMangaInformation.GetInfoFromURL(FavoriteInfo.Link);
|
||||
if not Terminated then
|
||||
|
@ -404,6 +404,8 @@ begin
|
||||
begin
|
||||
Synchronize(FManager.UpdateLoadStatus);
|
||||
try
|
||||
FInfo.HTTP.Reset;
|
||||
FInfo.MangaInfo.Clear;
|
||||
FInfo.Module := FModule;
|
||||
FInfo.MangaInfo.Title := FTitle;
|
||||
if (FInfo.GetInfoFromURL(FURL)=NO_ERROR) and not(Terminated) then
|
||||
|
Loading…
Reference in New Issue
Block a user