mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 06:09:15 +08:00
Fix broken specs.
This commit is contained in:
@ -161,7 +161,7 @@ module JsLocaleHelper
|
||||
end
|
||||
|
||||
def self.reset_context
|
||||
@ctx.dispose
|
||||
@ctx&.dispose
|
||||
@ctx = nil
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user