From 7ee6a814e5390e1138ce68fda35a604746f936c5 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sat, 3 Nov 2012 08:59:13 -0600 Subject: [PATCH] explicitly close evaluator for plot doc Although this shouldn't affect document rendering, since each document is run under a custodian that is shut down, it simplifies using the document individually to check for leaks. --- collects/plot/scribblings/common.rkt | 3 +++ collects/plot/scribblings/plot.scrbl | 2 ++ 2 files changed, 5 insertions(+) diff --git a/collects/plot/scribblings/common.rkt b/collects/plot/scribblings/common.rkt index 7aea29a5b9..dcfce8bd94 100644 --- a/collects/plot/scribblings/common.rkt +++ b/collects/plot/scribblings/common.rkt @@ -38,3 +38,6 @@ [plot3d-bitmap plot3d]) plot/utils))) eval)) + +(define (close-plot-eval) + (close-eval plot-eval)) diff --git a/collects/plot/scribblings/plot.scrbl b/collects/plot/scribblings/plot.scrbl index 355ec21b9c..c6c19dbcae 100644 --- a/collects/plot/scribblings/plot.scrbl +++ b/collects/plot/scribblings/plot.scrbl @@ -46,3 +46,5 @@ If you have code written for PLoT 5.1.3 or earlier, please see @secref["porting" @include-section["porting.scrbl"] @include-section["compat.scrbl"] + +@close-plot-eval[]