mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FIX: properly reset all contexts after forking
Fixes hang on backup
This commit is contained in:
parent
dec4a3386f
commit
7e43e73df6
4 changed files with 39 additions and 0 deletions
|
@ -33,6 +33,10 @@ JS
|
|||
ctx
|
||||
end
|
||||
|
||||
def self.reset_context
|
||||
@ctx = nil
|
||||
end
|
||||
|
||||
def self.v8
|
||||
return @ctx if @ctx
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue