Permalink
Browse files

Fixed CLJ role shutdown.

  • Loading branch information...
chrfrantz committed Dec 8, 2015
1 parent 78552d4 commit 127664e0c9f33203774cde17aa8a84041d320546
Showing with 3 additions and 2 deletions.
  1. +3 −2 trunk/main/org/nzdis/micro/DefaultCljSocialRole.java
@@ -62,8 +62,9 @@ protected void initialize(){
@Override
protected void release(){
releaseClj();
((AbstractAgent)getAgent()).getCljConnector().execInClojure(new StringBuffer("(in-ns (remove-ns))"));
//(remove-ns 'user.Individual117ns)
((AbstractAgent)getAgent()).getCljConnector().execInClojure(
new StringBuffer("(remove-ns '")
.append(((AbstractAgent)getAgent()).getCljConnector().getAgentNamespace()).append(")"));
}
/**

0 comments on commit 127664e

Please sign in to comment.