From 563999f3b8bfec4cd74b94e7d70392d2204f506a Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Sat, 11 Jul 2015 18:34:09 -0600 Subject: [PATCH] Add note about handling of thread contexts --- include/chaiscript/chaiscript_threading.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/chaiscript/chaiscript_threading.hpp b/include/chaiscript/chaiscript_threading.hpp index 26ce7d8..09fc617 100644 --- a/include/chaiscript/chaiscript_threading.hpp +++ b/include/chaiscript/chaiscript_threading.hpp @@ -155,6 +155,7 @@ namespace chaiscript private: + /// \todo this leaks thread instances. It needs to be culled from time to time std::shared_ptr get_tls() const { unique_lock lock(m_mutex);