diff options
author | Mattes D <github@xoft.cz> | 2015-03-20 16:51:49 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-03-20 16:51:49 +0100 |
commit | 0f45d1fbe20adbc022bcab6e0f76031f35a2e81d (patch) | |
tree | 6a6b14eaf98ce1b2008d5cbd22436e2da5ad3dee /src/Bindings/PluginLua.h | |
parent | Merge pull request #1822 from mc-server/ResettableLuaCallback (diff) | |
download | cuberite-0f45d1fbe20adbc022bcab6e0f76031f35a2e81d.tar cuberite-0f45d1fbe20adbc022bcab6e0f76031f35a2e81d.tar.gz cuberite-0f45d1fbe20adbc022bcab6e0f76031f35a2e81d.tar.bz2 cuberite-0f45d1fbe20adbc022bcab6e0f76031f35a2e81d.tar.lz cuberite-0f45d1fbe20adbc022bcab6e0f76031f35a2e81d.tar.xz cuberite-0f45d1fbe20adbc022bcab6e0f76031f35a2e81d.tar.zst cuberite-0f45d1fbe20adbc022bcab6e0f76031f35a2e81d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/PluginLua.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h index e358693bc..c14b02687 100644 --- a/src/Bindings/PluginLua.h +++ b/src/Bindings/PluginLua.h @@ -84,9 +84,8 @@ public: Protected against multithreaded access by m_CSPlugin. */ cPluginLua * m_Plugin; - /** The mutex protecting m_Plugin against multithreaded access. - Actually points to m_Plugin's internal m_CriticalSection in order to prevent deadlocks. */ - cCriticalSection & m_CSPlugin; + /** The mutex protecting m_Plugin against multithreaded access. */ + cCriticalSection m_CSPlugin; }; typedef SharedPtr<cResettable> cResettablePtr; |