Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
File.detach should decrement the ref count - Issue 7022
Because detach invalidates a copy of the File struct it should also decrement the ref count. The File destructor doesn't take care of this because by then p is already null.
- Loading branch information