提交 e7cb8c84 编写于 作者: D Duff OMelia 提交者: Joshua Peek

Ensure old buffers get properly cleared to avoid leaking memory

Signed-off-by: NJoshua Peek <josh@joshpeek.com>
上级 790ebf8e
......@@ -116,7 +116,7 @@ def buffer
end
def clear_buffer
@buffer[Thread.current] = []
@buffer.delete(Thread.current)
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册