summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r--src/Bindings/PluginLua.h5
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;