summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-05-25 09:42:48 +0300
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-05-27 09:25:03 +0300
commitb608d85db78cb672da76cb4531438ba32843c6fb (patch)
tree79e6a058fc6f3f1420fe254c1b409dedcb8d5daa /include
parentf0d0e7423b610782fdbed576bc2a442b82c8e1f8 (diff)
downloadqtlocation-mapboxgl-b608d85db78cb672da76cb4531438ba32843c6fb.tar.gz
[core] allow self closing mailbox/actor
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/actor/mailbox.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/actor/mailbox.hpp b/include/mbgl/actor/mailbox.hpp
index 1327e8e6fe..8ecf91701a 100644
--- a/include/mbgl/actor/mailbox.hpp
+++ b/include/mbgl/actor/mailbox.hpp
@@ -23,7 +23,7 @@ public:
private:
Scheduler& scheduler;
- std::mutex receivingMutex;
+ std::recursive_mutex receivingMutex;
std::mutex pushingMutex;
bool closed { false };