more changes on YEngine scripts heap usage

This commit is contained in:
UbitUmarov
2019-11-22 04:09:05 +00:00
parent 647622bb02
commit 9b7ad30ee1
6 changed files with 54 additions and 45 deletions

View File

@@ -888,7 +888,8 @@ namespace OpenSim.Region.ScriptEngine.Yengine
m_SleepUntil = DateTime.MinValue; // not doing llSleep()
m_ResetCount++; // has been reset once more
m_heapUsed = 0;
m_localsHeapUsed = 0;
m_arraysHeapUsed = 0;
glblVars.Clear();
// Tell next call to 'default state_entry()' to reset all global