Files
MapLibreParticleLab/platform/default
Thiago Marcos P. Santos f5b521ffb5 [core] Remove requests from the pending queue on cancel
If we don't do this, we can activate a request twice.

The issue here is that we use memory address as the 'key'. So if
we destroy a request, another request might take the same memory
address, or the same 'key'.

The entry at 'pendingRequests' survives the 'cancel()' and is
ultimatelly removed at 'activatePendingRequest()'. This is fine
unless a request is created using the same 'key' before we call
'activatePendingRequest()'.

The check if the request was canceled at 'activatePendingRequest()'
will be no longer valid, activating the request. At the same time
the request will be activated again by the task scheduled at the
constructor of the 'OnlineFileRequestImpl' class.
2016-02-16 23:06:04 +02:00
..
2016-02-11 18:01:53 -08:00
2015-12-15 10:19:56 -08:00
2015-11-25 15:57:36 -08:00
2015-11-27 17:47:02 +02:00
2016-01-25 15:11:18 +02:00