JuliaIO / MAT.jl

Julia module for reading MATLAB files
MIT License
280 stars 71 forks source link

Fix incorrect wrapping of a Datatype #151

Closed jmert closed 3 years ago

jmert commented 3 years ago

This was noticed in the CI of #145.

create_datatype already returns an HDF5.Datatype object, so by wrapping again, the finalizer on the original object was allowed to run too early.

musm commented 3 years ago

Good catch!