openframeworks/openFrameworks — pull request #1311 by damiannz (2012-06-07 11:02:26+00:00)
Title: Fix ofURLFileLoader crash issue if removing while loading

If a URL request issued by `ofURLGetAsync()` is currently in progress (downloading), and that request is removed by `ofRemoveURLRequest()`, `ofURLFileLoader`'s `threadedFunction` will crash or misbehave trying to `pop_front` on the request queue (because the request has already been removed).

This patch fixes that issue.