Use trusted sandbox for Performance Report.
Solves permission problems.
This commit is contained in:
parent
8080669dd9
commit
0452a5983f
|
@ -59,11 +59,7 @@
|
|||
[else ; different file
|
||||
#f]))
|
||||
(define log '())
|
||||
(define sandbox
|
||||
(parameterize ([sandbox-make-code-inspector current-code-inspector]
|
||||
[sandbox-eval-limits #f])
|
||||
(make-evaluator 'racket/base)))
|
||||
(call-in-sandbox-context sandbox
|
||||
(call-with-trusted-sandbox-configuration
|
||||
(lambda ()
|
||||
(with-intercepted-tr-logging
|
||||
(lambda (l)
|
||||
|
|
Loading…
Reference in New Issue
Block a user