2009-09-22 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Tue, 22 Sep 2009 21:38:14 +0000 (21:38 -0000)
committerZoltan Varga <vargaz@gmail.com>
Tue, 22 Sep 2009 21:38:14 +0000 (21:38 -0000)
commit107fa782dace2b4ee15ffdca03e928f8476e8092
tree7392353ac4fab2ebc4272db6bea4655f9c44cfba
parent89bdc402948862bd9d7443e19218f700836b7af1
2009-09-22  Zoltan Varga  <vargaz@gmail.com>

* image.c (mono_image_close): Atomically decrement the reference count and
remove the image from the hash tables, to prevent another thread from seeing a
dying MonoImage. Fixes #541194.

svn path=/trunk/mono/; revision=142437
mono/metadata/ChangeLog
mono/metadata/image.c