A platform for community discussion. Free, open, simple.
Initialize the v8 context after forking.
Guo Xiang Tan41c4e32e6428
diff --git a/lib/discourse.rb b/lib/discourse.rbindex 79e59845982..92600ab61b7 100644--- a/lib/discourse.rb+++ b/lib/discourse.rb@@ -451,6 +451,7 @@ module Discourse# in case v8 was initialized we want to make sure it is nilPrettyText.reset_context+ PrettyText.v8Tilt::ES6ModuleTranspilerTemplate.reset_context if defined? Tilt::ES6ModuleTranspilerTemplateJsLocaleHelper.reset_context if defined? JsLocaleHelper