Initialize the v8 context after forking.
This commit is contained in:
parent
475d944d74
commit
41c4e32e64
|
@ -451,6 +451,7 @@ 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
|
||||
|
|
Loading…
Reference in New Issue