Raynes / tryclojure

A little web-based Clojure REPL powered by clojail.
400 stars 112 forks source link

Faulty environment, vars disapearing #34

Open despeset opened 11 years ago

despeset commented 11 years ago

image

Image should be self-explanatory -- I am getting this behaviour consistently on http://tryclj.com/

Raynes commented 11 years ago

Yep. Thanks for reporting this, I'll look into it as soon as I can.

prakhar1989 commented 9 years ago

@Raynes Hi Anthony, any idea why this is happening? I'm also getting the same issue. Is it because of the timeout setting?

(defn make-sandbox []
  (sandbox try-clojure-tester
           :timeout 2000
           :init '(do (require '[clojure.repl :refer [doc source]])
                      (future (Thread/sleep 600000)
                              (-> *ns* .getName remove-ns)))))