From ddf8fa7d2f3bdaaf2444acd33b69643433d043f2 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 14 May 2014 15:52:46 +1000 Subject: Trash the trash thingy that was trashing memory. Plus some debugging prints. --- lib/LSL.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/LSL.lua b/lib/LSL.lua index 65aef77..695c05d 100644 --- a/lib/LSL.lua +++ b/lib/LSL.lua @@ -802,9 +802,11 @@ function waitAndProcess(returnWanted) elseif result1 then -- Check if we are waiting for a return, and got it. if returnWanted and string.match(message, "^return ") then +-- print("RETURNING " .. result1) return result1 end -- Otherwise, just run it and keep looping. +-- print("RUNNING " .. result1) status, errorMsg = luaproc.send(sid, result1) if not status then msg("Error sending results from " .. Type .. ": " .. message .. " ERROR MESSAGE: " .. errorMsg) -- cgit v1.1