RiotGames/ridley — pull request #294 by webcoyote (2014-12-17 00:01:37+00:00)
Title: Fix File.delete('metadata.json') bug on Windows

Fixes #292

On Windows the metadata.json file occasionally cannot be deleted. The source of the bug is (1) open file handles cannot be deleted in Windows and (2) the Ruby Garbage Collector still holds a reference to the file object. Running GC.start before deleting the file fixes the problem.