Skip to content

Commit

Permalink
Merge pull request eventmachine#565 from mosoto/master
Browse files Browse the repository at this point in the history
Set file handle to INVALID_HANDLE_VALUE after closing the file.
  • Loading branch information
tmm1 committed Jan 21, 2015
2 parents 66be216 + de8e935 commit 6e56911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/fastfilereader/mapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void Mapper_t::Close()
}
if (hFile != INVALID_HANDLE_VALUE) {
CloseHandle (hFile);
hMapping = INVALID_HANDLE_VALUE;
hFile = INVALID_HANDLE_VALUE;
}
}

Expand Down

0 comments on commit 6e56911

Please sign in to comment.