Workaround for a gui instantiation problem.

This commit is contained in:
Eli Barzilay 2011-09-15 00:59:45 -04:00
parent 4d9c7e5332
commit 3c0147bd7c

View File

@ -16,7 +16,13 @@
;; to be done in the main thread, rather than later in a ;; to be done in the main thread, rather than later in a
;; user session thread (that will make the global changes ;; user session thread (that will make the global changes
;; not to be global.) ;; not to be global.)
"sandbox.rkt") "sandbox.rkt"
;; workaround for a confusing problem: without this, the gui
;; gets initialized in a handler (since checks use it, and
;; they're being required dynamically), and further handlers
;; will fail with "queue-callback: eventspace is shutdown",
;; requiring it here makes it avoids killing the eventspace
racket/gui/base)
(install-logger-port) (install-logger-port)