mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Dispose of heap when we reset the context.
This commit is contained in:
@@ -123,6 +123,7 @@ module PrettyText
|
||||
|
||||
def self.reset_context
|
||||
@ctx_init.synchronize do
|
||||
@ctx.dispose
|
||||
@ctx = nil
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user