Force garbage collection after completing a Processable
This commit is contained in:
parent
71503b34b5
commit
defed72862
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ namespace FileLiberator
|
|||
= (await ProcessAsync(libraryBook))
|
||||
?? new StatusHandler { "Processable should never return a null status" };
|
||||
|
||||
GC.Collect(GC.MaxGeneration, GCCollectionMode.Aggressive, true, true);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue