Dramaticaly reduce spam on companion/simu 'debug' output

This commit is contained in:
3djc
2017-04-12 10:07:47 +02:00
parent 0a6518eb30
commit 39a631d31d
+1 -1
View File
@@ -204,7 +204,7 @@ void luaDoGc(lua_State * L, bool full)
else { else {
lua_gc(L, LUA_GCSTEP, 10); lua_gc(L, LUA_GCSTEP, 10);
} }
#if defined(SIMU) || defined(DEBUG) #if defined(DEBUG)
if (L == lsScripts) { if (L == lsScripts) {
static uint32_t lastgcSctipts = 0; static uint32_t lastgcSctipts = 0;
uint32_t gc = luaGetMemUsed(L); uint32_t gc = luaGetMemUsed(L);