Revert "Initialize the v8 context after forking."

This reverts commit 41c4e32e64.
This commit is contained in:
Guo Xiang Tan 2018-06-06 14:33:20 +08:00
parent a83ab01264
commit aa5805e8b0
1 changed files with 0 additions and 1 deletions

View File

@ -451,7 +451,6 @@ module Discourse
# in case v8 was initialized we want to make sure it is nil
PrettyText.reset_context
PrettyText.v8
Tilt::ES6ModuleTranspilerTemplate.reset_context if defined? Tilt::ES6ModuleTranspilerTemplate
JsLocaleHelper.reset_context if defined? JsLocaleHelper