Skip to content

Commit 14d9f9d

Browse files
ericproulxdblock
andauthored
Fix memory leak when using recognize_path inside Grape::API (#2567)
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
1 parent 8821946 commit 14d9f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grape/api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Grape
55
# should subclass this class in order to build an API.
66
class API
77
# Class methods that we want to call on the API rather than on the API object
8-
NON_OVERRIDABLE = %i[call call! configuration compile! inherited].freeze
8+
NON_OVERRIDABLE = %i[call call! configuration compile! inherited recognize_path].freeze
99

1010
class Boolean
1111
def self.build(val)

0 commit comments

Comments
 (0)