diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-01 15:34:30 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-01 15:34:30 +0000 |
commit | 3dbaef0eac24e4e50b6b8f7f26be00600e75b4f1 (patch) | |
tree | 7eba07a05cb07efdd537840eeb4fac1e8f9cca88 /plugins/MirLua | |
parent | f2e037c6b00ab9cac0583d1fe4eacf1707047b0e (diff) |
MirLua: fix random function call on script unloading
git-svn-id: http://svn.miranda-ng.org/main/trunk@16898 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua')
-rw-r--r-- | plugins/MirLua/src/mlua_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/mlua_script.cpp b/plugins/MirLua/src/mlua_script.cpp index ce635a36cf..5f43d7fbda 100644 --- a/plugins/MirLua/src/mlua_script.cpp +++ b/plugins/MirLua/src/mlua_script.cpp @@ -3,7 +3,7 @@ #define SCRIPT "Script"
CMLuaScript::CMLuaScript(lua_State *L, const TCHAR *path)
- : L(L), status(None)
+ : L(L), status(None), unloadRef(0)
{
mir_tstrcpy(filePath, path);
|