Hi,
I discovered that all LuaExtension.cxx CallNamedFunction functions leave
unused strings on the stack if they aren't global functions. Every time
an undefined global is called (e.g. OnChar, OnClear, etc.), the string
pushed is not popped. Thus the stack size continuously grows.
-Mitchell;
Here is the patch:
Index: LuaExtension.cxx
===================================================================
RCS file: /cvsroot/scintilla/scite/src/LuaExtension.cxx,v
retrieving revision 1.18
diff -r1.18 LuaExtension.cxx
826a827,828
> } else {
> lua_pop(luaState, 1);
838a841,842
> } else {
> lua_pop(luaState, 1);
851a856,857
> } else {
> lua_pop(luaState, 1);
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest