summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-01-19 17:40:24 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-02-04 10:49:05 +0100
commit31a0d18ca1961b1cfb0785a1921b1f093167ebda (patch)
tree412b555337be9ccb5cc4832a49cb85a48690c1d4 /include
parent5602ba2f07a893604ea0506b3d580d4f2e2999ae (diff)
downloadqtlocation-mapboxgl-31a0d18ca1961b1cfb0785a1921b1f093167ebda.tar.gz
remove circular shared_ptr and a few other memory leaks
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/storage/default/request.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbgl/storage/default/request.hpp b/include/mbgl/storage/default/request.hpp
index 0ed544093c..9253378009 100644
--- a/include/mbgl/storage/default/request.hpp
+++ b/include/mbgl/storage/default/request.hpp
@@ -32,6 +32,10 @@ public:
void cancel();
private:
+ static void notifyCallback(uv_async_t *async, int);
+ static void cancelCallback(uv_async_t *async, int);
+
+private:
uv_async_t *notify_async = nullptr;
uv_async_t *destruct_async = nullptr;
Callback callback;