On 1/18/19 12:13 PM, Alessandro Pasotti wrote:

> I didn't look at the code but maybe it's because the NAM instance is
> per-thread and WMS/WFS downloaders run within threads.

Yeah, that is what I'm afraid of...
I just do QgsNetworkAccessManager.instance() which get's it from current
thread.

And (from what I understand) most providers do not keep an handle to
some NAM :-(

There is no way to QgsNetworkAccessManager what instances are running in
different threads?

Richard
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to