From 3dbaef0eac24e4e50b6b8f7f26be00600e75b4f1 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Wed, 1 Jun 2016 15:34:30 +0000 Subject: MirLua: fix random function call on script unloading git-svn-id: http://svn.miranda-ng.org/main/trunk@16898 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/mlua_script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MirLua/src/mlua_script.cpp') 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); -- cgit v1.2.3