summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-05-22 12:19:40 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-05-22 12:19:40 +0200
commit162ee6f4e888050f36f23997eaa5fc215b80e75a (patch)
treef5dd4e02bdb53909d983c101f162a58e13df7d77
parentd1a266b3e68d052d1478382795598bf2ff28da6a (diff)
downloadqtlocation-mapboxgl-162ee6f4e888050f36f23997eaa5fc215b80e75a.tar.gz
[node] fixup bad merge
-rw-r--r--platform/node/src/node_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/src/node_map.cpp b/platform/node/src/node_map.cpp
index bc40d56f44..4d89077d64 100644
--- a/platform/node/src/node_map.cpp
+++ b/platform/node/src/node_map.cpp
@@ -460,7 +460,7 @@ void NodeMap::startRender(NodeMap::RenderOptions options) {
}
void NodeMap::renderFinished() {
- if (!callback) {
+ if (!req) {
// In some situations, the render finishes at the same time as we call cancel. Make sure
// we are only finishing a render once.
return;