Method: Fluent::Supervisor.cleanup_resources

Defined in:
lib/fluent/supervisor.rb

.cleanup_resourcesObject



502
503
504
505
506
507
508
# File 'lib/fluent/supervisor.rb', line 502

def self.cleanup_resources
  unless Fluent.windows?
    if ENV.has_key?('SERVERENGINE_SOCKETMANAGER_PATH')
      FileUtils.rm_f(ENV['SERVERENGINE_SOCKETMANAGER_PATH'])
    end
  end
end