[racket] instantiating multiple sandboxes with gui's

From: Spencer Florence (florence at ccs.neu.edu)
Date: Sun Mar 23 20:12:43 EDT 2014

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)))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140323/8ccb037d/attachment.html>

Posted on the users mailing list.