mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-05 01:24:53 +01:00
Also unlink light tmpfile on errors
This commit is contained in:
parent
05b2cc0e1e
commit
0bd8e211e2
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ static void doRegion(const std::string &input, const std::string &output, const
|
|||
catch (const std::exception& ex) {
|
||||
std::fprintf(stderr, "Failed to generate %s: %s\n", output.c_str(), ex.what());
|
||||
unlink(tmpfile.c_str());
|
||||
unlink(tmpfile_light.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue