summaryrefslogtreecommitdiff
path: root/test/fixtures
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/fixtures
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/fixtures')
-rw-r--r--test/fixtures/mock_file_source.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/fixtures/mock_file_source.cpp b/test/fixtures/mock_file_source.cpp
index 22c906c173..791e5d314a 100644
--- a/test/fixtures/mock_file_source.cpp
+++ b/test/fixtures/mock_file_source.cpp
@@ -18,7 +18,6 @@ public:
MockFileSource::MockFileSource(Type type_, const std::string& match_)
: type(type_), match(match_) {
- timer.unref();
timer.start(std::chrono::milliseconds(10), std::chrono::milliseconds(10), [this] {
// Explicit move to avoid iterator invalidation if ~MockFileRequest gets called within the loop.
auto pending_ = std::move(pending);