Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index c23c1a4a9c722f0839fd4ca4976c41e90b10cda0..06883803f90091503fd133499ef3608f048ae8aa 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -2478,6 +2478,9 @@ int Shell::Main(int argc, char* argv[]) { |
// Shut down contexts and collect garbage. |
evaluation_context_.Reset(); |
+#ifndef V8_SHARED |
+ stringify_function_.Reset(); |
+#endif // !V8_SHARED |
CollectGarbage(isolate); |
} |
OnExit(isolate); |