Commit 854d1585 authored by Aaron Quint's avatar Aaron Quint

Fix for evaling on the same tracer more than once

After the first time, @eval_result is already set, so the output
is the same/it doesnt wait for a response
parent 9d812f26
......@@ -139,7 +139,9 @@ class RBTracer
send_cmd(:eval, code)
if wait('for eval response', 15){ !!@eval_result }
@eval_result
res = @eval_result
@eval_result = nil
res
else
STDERR.puts '*** timed out waiting for eval response'
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment