Skip to content

Commit ee44dd9

Browse files
committed
更新至1.0.7.368 64位除0问题
1 parent 4f93e18 commit ee44dd9

8 files changed

Lines changed: 4 additions & 2 deletions

File tree

Assets/LuaFramework/ToLua/Core/LuaState.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ public LuaState()
105105
mainState = this;
106106
}
107107

108-
float time = Time.realtimeSinceStartup;
108+
float time = Time.realtimeSinceStartup;
109109
InitTypeTraits();
110-
InitStackTraits();
110+
InitStackTraits();
111111
L = LuaNewState();
112112
LuaException.Init(L);
113113
stateMap.Add(L, this);
@@ -1276,6 +1276,8 @@ void PushUserData(object o, int reference)
12761276
{
12771277
return;
12781278
}
1279+
1280+
translator.Destroyudata(index);
12791281
}
12801282

12811283
index = translator.AddObject(o);
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

Assets/Plugins/iOS/libtolua.a

-1.28 KB
Binary file not shown.
7.79 KB
Binary file not shown.

Assets/Plugins/x86/tolua.dll

-512 Bytes
Binary file not shown.

Assets/Plugins/x86_64/tolua.dll

512 Bytes
Binary file not shown.

Assets/Sproto.New.zip

-248 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)