destroy_cache_lock (Raggle::Engine)

    # File raggle, line 5028
        def Engine::destroy_cache_lock
          path = $config['cache_lock_path']

          # unlock cache lock
          unless $config['cache_lock'].flock(File::LOCK_UN | File::LOCK_NB)
            $stderr.puts "WARNING: Couldn't unlock \"#{path}\"."
          end

          # close cache lock
          $config['cache_lock'].flush
          $config['cache_lock'].close
          $config['cache_lock'] = nil

          # start garbage collection (flush out file descriptor)
          GC.start

          # unlink cache lock
          unless File::unlink(path)
            $stderr.puts "WARNING: Couldn't unlock \"#{path}\"."
          end
        end