]> git.cworth.org Git - sup/blobdiff - lib/sup/hook.rb
bugfix: clear cached lambda hook locals after hook call
[sup] / lib / sup / hook.rb
index d3d2ba8fc4b6f88619843512c99dec8c0c94c8cb..8a51cfebc14396d4dcd3c0f9cd1af1669479911f 100644 (file)
@@ -54,6 +54,7 @@ class HookManager
       end
       ret = eval __hook, __binding, __filename
       BufferManager.clear @__say_id if @__say_id
+      @__cache = {}
       ret
     end
   end