'download book' now includes pdf
This commit is contained in:
parent
47360c036d
commit
bbe745f487
3 changed files with 210 additions and 208 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue