summaryrefslogtreecommitdiff
path: root/test/style/pending_resources.cpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-01-08 23:17:43 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-01-09 01:26:29 +0200
commitd7fdcc73bfcab39f63e547ce2af8435a9859cb08 (patch)
tree223b8f6bb663fff22ea5f65e487c40d280630cb2 /test/style/pending_resources.cpp
parente7b0b31d58997ce0c849129d07a97cb0740beb7e (diff)
downloadqtlocation-mapboxgl-d7fdcc73bfcab39f63e547ce2af8435a9859cb08.tar.gz
[core] Get rid of ::unref() for Timer and AsyncTask
Not need, legacy from libuv. The RunLoop keep the main loop running until is explicitly no longer needed.
Diffstat (limited to 'test/style/pending_resources.cpp')
-rw-r--r--test/style/pending_resources.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/style/pending_resources.cpp b/test/style/pending_resources.cpp
index 62aee032da..1115274227 100644
--- a/test/style/pending_resources.cpp
+++ b/test/style/pending_resources.cpp
@@ -33,7 +33,6 @@ TEST_P(PendingResources, DeleteMapObjectWithPendingRequest) {
loop.stop();
});
- endTest.unref();
fileSource.requestEnqueuedCallback = [&endTest] { endTest.send(); };
const std::string style = util::read_file("test/fixtures/resources/style.json");