[Imtoolkit-users] Lua 5.2 crash
Brought to you by:
scuri
From: Milind G. <mil...@gm...> - 2014-12-06 23:50:25
|
Hi, I had a program which is something like this: require("imlua") args = table.pack(...) if args[1] then -- Do something here else print("No arguments given") end But if I run this script using lua 5.2 and give no arguments instead of just ending it causes Lua to crash after printing 'No arguments given' I am using im.dll and imlua52.dll in the local directory which it uses. These are from the iup 3.12 binaries. Do I need to do something before ending the Lua script to cause im to exit properly? Thanks, Milind |