public void Stop(int L) { if (SB != null) { if (SB.GetCurrentState() != ClockState.Stopped) { SB.Stop(); if (StopFunctionId != 0) { LuaManager.GetLuaManager(L).ExecuteCallBackFunctionWithParam(StopFunctionId, this);// //StopFunctionId = 0; } } } Dispose(); }