We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7c08214 + 6e18b81 commit daa4919Copy full SHA for daa4919
3 files changed
CHANGELOG.md
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
8
## [Unreleased]
9
10
+## [0.3.2] - 2022-02-17
11
+
12
+### Changed
13
+- `engine`: fixed issue with memory leak ([#15](https://github.com/gi/handlebars-ruby/pull/15))
14
15
## [0.3.1] - 2022-02-04
16
17
### Added
lib/handlebars/engine/function.rb
@@ -16,7 +16,10 @@ def call(*args)
def self.finalizer(context, name)
18
proc {
19
- context.eval("delete #{name}")
+ begin
20
+ context.eval("delete #{name}")
21
+ rescue ThreadError # rubocop:disable Lint/SuppressedException
22
+ end
23
}
24
end
25
lib/handlebars/engine/version.rb
@@ -2,6 +2,6 @@
2
3
module Handlebars
4
class Engine
5
- VERSION = "0.3.1"
+ VERSION = "0.3.2"
6
0 commit comments