Closed fschutt closed 2 years ago
This library actually handles null return values, so it's something else. What platform did you observe this on?
Windows. See my commit: https://github.com/fschutt/azul/commit/ae3100141aa68bfdf03f938d25f93e1bd03ccbd3
I can reproduce this with c liblary v3.8.3, but not v3.8.8 . In new version, some additional null check is present here https://github.com/jdm/tinyfiledialogs-rs/blob/3d997f5d9bad92fe55ef18caf18e5712282ea717/libtinyfiledialogs/tinyfiledialogs.c#L3169-L3173 And adding it back to older version also seems to fix issue, at least for me. So, maybe this issue can already be closed?
If you select "cancel", the exe will segfault -
tinyfiledialogs
returns a nullptr on failure, maybe that's the reason.