Delete handle before adding thunk to free list.
authormateoatr <matorre@microsoft.com>
Mon, 9 Dec 2019 19:05:19 +0000 (19:05 +0000)
committermateoatr <matorre@microsoft.com>
Mon, 9 Dec 2019 19:05:19 +0000 (19:05 +0000)
commit1172956a059448dedef648a06463f7d6b4c6f479
treeed3e963415888bea958b47c0be530ac4023efa2c
parentc29b2c432100763b10f9b94acc068be712811778
Delete handle before adding thunk to free list.
Set object handle to zero after destroying the handle.
src/coreclr/src/vm/dllimportcallback.cpp