diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-01-24 18:27:45 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-01-24 18:28:40 +0100 |
commit | 966a1261866142001d6f5c447c4a665da870b518 (patch) | |
tree | 5fe69ff024748e1b065511e1edade4e5c6ee8498 /version.py | |
parent | 1c0995d4509acd0a750f32517b14c01842220cca (diff) |
Mono/C#: Fix _update_exports possible crash with Reference types
The code was attempting to dynamic cast the native instance to Reference after
the managed instance was disposed. As the managed instance acts as a Ref,
the native instance was freed during that disposal.
This made the dynamic cast fail and we attempted to memdelete a second time.
The fix is to make the dynamic cast before disposal.
Diffstat (limited to 'version.py')
0 files changed, 0 insertions, 0 deletions