mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Initialize the v8 context after forking.
This commit is contained in:
parent
475d944d74
commit
41c4e32e64
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue