Browse Source
In this commit, we fix a bug introduced with the recent bug fix for SCB state+fail combination. On windwos a rename operation will fail is the fail one is attempting to rename is still open. Therefore we need to close the file after we read the contents, to ensure the follow up rename operations once the channel state changes will succeed. We do this by using `ioutil.ReadFile`, which will always clsoe the file after reading. Fixes #4450.master
Olaoluwa Osuntokun
4 years ago
1 changed files with 7 additions and 27 deletions
Loading…
Reference in new issue