'download book' now includes pdf

This commit is contained in:
Robert McRackan 2019-11-13 11:20:37 -05:00
parent 47360c036d
commit bbe745f487
3 changed files with 210 additions and 208 deletions

View file

@ -64,10 +64,12 @@ namespace FileManager
private static bool isProcessing;
private static void timerDownload()
{
// must live outside try-catch, else 'finally' can reset another thread's lock
if (isProcessing)
return;
try
{
if (isProcessing)
return;
isProcessing = true;
var def = cache