diff options
author | David Walter Seikel | 2014-05-14 15:52:46 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-14 15:52:46 +1000 |
commit | ddf8fa7d2f3bdaaf2444acd33b69643433d043f2 (patch) | |
tree | 961aad69c308a235fb6d37b036306198af61ff50 /lib/LSL.lua | |
parent | A little clean up. (diff) | |
download | SledjHamr-ddf8fa7d2f3bdaaf2444acd33b69643433d043f2.zip SledjHamr-ddf8fa7d2f3bdaaf2444acd33b69643433d043f2.tar.gz SledjHamr-ddf8fa7d2f3bdaaf2444acd33b69643433d043f2.tar.bz2 SledjHamr-ddf8fa7d2f3bdaaf2444acd33b69643433d043f2.tar.xz |
Trash the trash thingy that was trashing memory. Plus some debugging prints.
Diffstat (limited to 'lib/LSL.lua')
-rw-r--r-- | lib/LSL.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
802 | elseif result1 then | 802 | elseif result1 then |
803 | -- Check if we are waiting for a return, and got it. | 803 | -- Check if we are waiting for a return, and got it. |
804 | if returnWanted and string.match(message, "^return ") then | 804 | if returnWanted and string.match(message, "^return ") then |
805 | -- print("RETURNING " .. result1) | ||
805 | return result1 | 806 | return result1 |
806 | end | 807 | end |
807 | -- Otherwise, just run it and keep looping. | 808 | -- Otherwise, just run it and keep looping. |
809 | -- print("RUNNING " .. result1) | ||
808 | status, errorMsg = luaproc.send(sid, result1) | 810 | status, errorMsg = luaproc.send(sid, result1) |
809 | if not status then | 811 | if not status then |
810 | msg("Error sending results from " .. Type .. ": " .. message .. " ERROR MESSAGE: " .. errorMsg) | 812 | msg("Error sending results from " .. Type .. ": " .. message .. " ERROR MESSAGE: " .. errorMsg) |