Skip to content

Commit

Permalink
Merge pull request #3266 from NickLaMuro/leak_fix_to_s_autoload_paths
Browse files Browse the repository at this point in the history
Fix memory leak with ruby/require/autoload_paths
  • Loading branch information
Fryguy committed Jan 18, 2018
2 parents 2495cd9 + 5fc7b05 commit 62653f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/manageiq/ui/classic/engine.rb
Expand Up @@ -31,8 +31,8 @@ module ManageIQ
module UI
module Classic
class Engine < ::Rails::Engine
config.autoload_paths << root.join('app', 'controllers', 'mixins')
config.autoload_paths << root.join('lib')
config.autoload_paths << root.join('app', 'controllers', 'mixins').to_s
config.autoload_paths << root.join('lib').to_s
if Rails.env.production? || Rails.env.test?
require 'uglifier'
config.assets.js_compressor = Uglifier.new(
Expand Down

0 comments on commit 62653f6

Please sign in to comment.