-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing dispose of RowGroupMetaData in RowGroupReader? #322
Conversation
Sorry about the spam. Haven't gotten the build system set up locally yet, so fixing the issues on the fly. |
Built successfully locally now |
Hi @Sense545, I'm guessing you've closed this as you realised it doesn't really make sense for It's fair to say this looks a little weird that these don't free their native handles though, we should probably at least document the reason for this in the code. It's also a potential footgun as accessing Edit: This is kind of related to #243 |
Yep. Didn't realize they were owned by the parent object at first. It was a good learning experience to look into this and get it compiling and tests running locally. Maybe the handles could be renamed to Regarding accessing the |
_metaData?.Dispose()
in RowGroupReaderIDisposable
for RowGroupMetaData (to dispose _handle)