[sgen] Ensure togglerefs are only cleared after we proccess finalizers and CWT.
commit8bbaaa0c575a375936d5ee518678f13ebdb4f666
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 26 Feb 2014 17:19:12 +0000 (26 12:19 -0500)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 26 Feb 2014 17:24:35 +0000 (26 12:24 -0500)
treef38987fe96b76fbe9f99fa165f922cd05307b99e
parent2c64ed78669cfbd9e2920d967c0a3a46dc8d9ed7
[sgen] Ensure togglerefs are only cleared after we proccess finalizers and CWT.

Clearing TRs before finalizers and CWT means user driver resurrection would fail
badly.
mono/metadata/sgen-gc.c