Add note about handling of thread contexts

This commit is contained in:
Jason Turner 2015-07-11 18:34:09 -06:00
parent 1ea608babe
commit 563999f3b8

View File

@ -155,6 +155,7 @@ namespace chaiscript
private:
/// \todo this leaks thread instances. It needs to be culled from time to time
std::shared_ptr<T> get_tls() const
{
unique_lock<mutex> lock(m_mutex);