Thread: [User feedback required] Easybytez not working in free
View Single Post
  #10  
Old 27.10.2015, 19:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

@robertus
Start/StopDownloads are Async!
Those methods do NOT block and wait
so it can easily happen
that stop,start,stop,start does NOTHING because internally they toggle to start
also you should change it to


stopDownloads();
while (!isDownloadControllerIdle());
requestReconnect()
startDownloads();
__________________
JD-Dev & Server-Admin
Reply With Quote