MCPcopy Create free account
hub / github.com/Tencent/xLua / Start

Method Start

Assets/XLua/Examples/04_LuaObjectOrented/InvokeLua.cs:89–94  ·  view source on GitHub ↗

Use this for initialization

()

Source from the content-addressed store, hash-verified

87 ";
88 // Use this for initialization
89 void Start()
90 {
91 LuaEnv luaenv = new LuaEnv();
92 Test(luaenv);//调用了带可变参数的delegate,函数结束都不会释放delegate,即使置空并调用GC
93 luaenv.Dispose();
94 }
95
96 void Test(LuaEnv luaenv)
97 {

Callers

nothing calls this directly

Calls 1

DisposeMethod · 0.80

Tested by

no test coverage detected