views:

43

answers:

1

If I call (shutdown-agents) from the REPL, and then later on try to use an agent later on, I get an exception saying the agent pool isn't available (of course!). The question is, how can the agent thread pool be re-started without having to re-launch the REPL and lose all of my state?

Thanks!

+2  A: 

shutdown-agents is meant to be run before you exit the JVM. As far as I know, you can't restart them afterward. See e.g. here and here.

Brian Carper