Merge tag 'v0.19.9'

This commit is contained in:
Max Kellermann
2015-02-06 17:15:31 +01:00
4 changed files with 23 additions and 9 deletions

View File

@@ -73,6 +73,7 @@ FileOutputStream::Commit(gcc_unused Error &error)
assert(IsDefined());
CloseHandle(handle);
handle = INVALID_HANDLE_VALUE;
return true;
}
@@ -82,6 +83,7 @@ FileOutputStream::Cancel()
assert(IsDefined());
CloseHandle(handle);
handle = INVALID_HANDLE_VALUE;
RemoveFile(path);
}