lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>>>>> "actboy168" == actboy168  <actboy168@gmail.com> writes:

 actboy168> This is an example that can be reproduced.
 actboy168> for i = 1, 1000 do
 actboy168>     -- lpeg.re
 actboy168>     require 're'
 actboy168>     package.loaded['re'] = nil
 actboy168>     print('test', i)
 actboy168> end

Doesn't need the loop; just doing  require 're'; collectgarbage();
triggers it for me.

-- 
Andrew.