https://issues.dlang.org/show_bug.cgi?id=14868 --- Comment #3 from Sergei Degtiarev <sdegtiarev at yahoo.com> --- The MmFile destructor is called after main() termination and throws exception while trying to clean up the memory. --