Hi, learning clojure so this may just be a lack of understanding on my
part. Been looking at a post about swing and clojure and it used an
agent to implement a flipper with code below.
When I run the code in clojure 1.2.1 via
(def flipper (new-flipper))
(send flipper start)
all is fine and the
This is a problem with a feature introduced in 1.3: binding-conveyance for
Agent sends. Starting in 1.3, agent actions are called with the same
thread-local Var bindings that were in effect when they were called. In
some situations, this can build up a stack of thread-local Var binding
frames,
Stuart Sierra the.stuart.sie...@gmail.com writes:
Hi Stuart,
This is a problem with a feature introduced in 1.3: binding-conveyance
for Agent sends. Starting in 1.3, agent actions are called with the
same thread-local Var bindings that were in effect when they were
called. In some
Tassilo wrote: But shouldn't at least the thread-local Var binding frames
be freed after the actions have been performed?
Yes. It's a bug. Just created CLJ-898:
http://dev.clojure.org/jira/browse/CLJ-898
-S
--
You received this message because you are subscribed to the Google
Groups Clojure
Stuart Sierra the.stuart.sie...@gmail.com writes:
Hi Stuart,
Tassilo wrote: But shouldn't at least the thread-local Var binding
frames be freed after the actions have been performed?
Yes. It's a bug. Just created CLJ-898:
http://dev.clojure.org/jira/browse/CLJ-898
I've attached a patch to