I'm attempting to launch multiple evaluators which require `racket/gui`,
however I get the error:

cannot instantiate `racket/gui/base` a second time in the same process

Is `racket/gui/base` maintaining some kind of state thats escaping the
sandbox?





Example of the problem:

#lang racket/base
(require racket/sandbox)

(call-with-trusted-sandbox-configuration
 (lambda ()
   (define (make)
     (make-evaluator 'racket/base
                     #:requires '(racket/gui/base)))

   (make)
   (make)))
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to