commit e8138b42bd7fee0275e0cb36dcea6b543aa76d8a parent dcd7a7e4c33778d38dd8b1c4059d4b6c99add3fe Author: William Morgan <wmorgan-sup@masanjin.net> Date: Mon, 31 Aug 2009 22:32:56 -0400 bugfix: clear cached lambda hook locals after hook call Diffstat:
| M | lib/sup/hook.rb | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/sup/hook.rb b/lib/sup/hook.rb
@@ -54,6 +54,7 @@ class HookManager
end
ret = eval __hook, __binding, __filename
BufferManager.clear @__say_id if @__say_id
+ @__cache = {}
ret
end
end