Comment 2 for bug 546227

Revision history for this message
Razzloss (razzloss) wrote : Re: [WISH with PATCH]: possibility to enqueue a magnet-link directly on the download-queue

QueueManager -functions shouldn't be called from the GUI threads. Since there's a possibility it will deadlock the client. (e.g. have tried adding few magnets to queue with dl queue open? Not saying it will deadlock, but might...)

So those QueueManager calls should be put in to their own _client -function and the call to that should be dispatched in the onExternalData callback.

Checked ApexDC++s magnet handling and they seemed to pass just UserPtr() instead of a dummy user, but that was with newer core (and what I tested, I wasn't able to get it to work with 0.75)

--RZ