From b608d85db78cb672da76cb4531438ba32843c6fb Mon Sep 17 00:00:00 2001 From: Ivo van Dongen Date: Thu, 25 May 2017 09:42:48 +0300 Subject: [core] allow self closing mailbox/actor --- include/mbgl/actor/mailbox.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 }; -- cgit v1.2.1