[project @ 2003-09-10 11:46:58 by simonmar] The finalizer for a ForeignPtr created with mallocForeignPtr better "touch#" the MutableByteArray# after running the other finalizers, otherwise the memory might be garbage collected before we've finished running the finalizers.
[project @ 2003-09-10 11:46:58 by simonmar]
The finalizer for a ForeignPtr created with mallocForeignPtr better
"touch#" the MutableByteArray# after running the other finalizers,
otherwise the memory might be garbage collected before we've finished
running the finalizers.

This can cause crashes if you add any extra finalizers to a ForeignPtr
created with mallocForeignPtr.

SourceForge bug: #802692

lukexi/ghc,tjakway/ghcjvm,acowley/ghc,lukexi/ghc,mfine/ghc,olsner/ghc,anton-dessiatov/ghc,green-haskell/ghc,nathyong/microghc-ghc,acowley/ghc,nathyong/microghc-ghc,urbanslug/ghc,snoyberg/ghc,elieux/ghc,mcschroeder/ghc,mettekou/ghc,mfine/ghc,jstolarek/ghc,shlevy/ghc,vTurbine/ghc,nkaretnikov/ghc,sdiehl/ghc,urbanslug/ghc,sgillespie/ghc,AlexanderPankiv/ghc,ml9951/ghc,spacekitteh/smcghc,snoyberg/ghc,shlevy/ghc,AlexanderPankiv/ghc,wxwxwwxxx/ghc,ezyang/ghc,ryantm/ghc,christiaanb/ghc,nushio3/ghc,acowley/ghc,ghc-android/ghc,holzensp/ghc,urbanslug/ghc,olsner/ghc,TomMD/ghc,TomMD/ghc,snoyberg/ghc,ryantm/ghc,forked-upstream-packages-for-ghcjs/ghc,shlevy/ghc,vikraman/ghc,TomMD/ghc,fmthoma/ghc,acowley/ghc,bitemyapp/ghc,olsner/ghc,vikraman/ghc,green-haskell/ghc,bitemyapp/ghc,christiaanb/ghc,sdiehl/ghc,urbanslug/ghc,urbanslug/ghc,AlexanderPankiv/ghc,fmthoma/ghc,christiaanb/ghc,siddhanathan/ghc,elieux/ghc,wxwxwwxxx/ghc,frantisekfarka/ghc-dsi,fmthoma/ghc,siddhanathan/ghc,mettekou/ghc,gridaphobe/ghc,vTurbine/ghc,mfine/ghc,anton-dessiatov/ghc,spacekitteh/smcghc,olsner/ghc,urbanslug/ghc,TomMD/ghc,ml9951/ghc,mcschroeder/ghc,AlexanderPankiv/ghc,green-haskell/ghc,GaloisInc/halvm-ghc,fmthoma/ghc,holzensp/ghc,mettekou/ghc,gcampax/ghc,gcampax/ghc,ml9951/ghc,forked-upstream-packages-for-ghcjs/ghc,shlevy/ghc,ezyang/ghc,elieux/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,ryantm/ghc,ezyang/ghc,da-x/ghc,fmthoma/ghc,ryantm/ghc,olsner/ghc,mcschroeder/ghc,christiaanb/ghc,bitemyapp/ghc,siddhanathan/ghc,GaloisInc/halvm-ghc,lukexi/ghc,ezyang/ghc,shlevy/ghc,forked-upstream-packages-for-ghcjs/ghc,ghc-android/ghc,wxwxwwxxx/ghc,ezyang/ghc,jstolarek/ghc,oldmanmike/ghc,elieux/ghc,sgillespie/ghc,shlevy/ghc,mettekou/ghc,oldmanmike/ghc,nushio3/ghc,ryantm/ghc,nathyong/microghc-ghc,lukexi/ghc,acowley/ghc,siddhanathan/ghc,nushio3/ghc,AlexanderPankiv/ghc,mcschroeder/ghc,nkaretnikov/ghc,vikraman/ghc,jstolarek/ghc,snoyberg/ghc,lukexi/ghc,christiaanb/ghc,mcschroeder/ghc,tjakway/ghcjvm,nushio3/ghc,GaloisInc/halvm-ghc,gcampax/ghc,tibbe/ghc,sdiehl/ghc,gridaphobe/ghc,spacekitteh/smcghc,fmthoma/ghc,mettekou/ghc,mfine/ghc,frantisekfarka/ghc-dsi,da-x/ghc,vikraman/ghc,anton-dessiatov/ghc,vikraman/ghc,sgillespie/ghc,frantisekfarka/ghc-dsi,frantisekfarka/ghc-dsi,forked-upstream-packages-for-ghcjs/ghc,vTurbine/ghc,olsner/ghc,oldmanmike/ghc,mcschroeder/ghc,green-haskell/ghc,bitemyapp/ghc,GaloisInc/halvm-ghc,ml9951/ghc,da-x/ghc,gcampax/ghc,gcampax/ghc,tibbe/ghc,gridaphobe/ghc,nushio3/ghc,vTurbine/ghc,spacekitteh/smcghc,wxwxwwxxx/ghc,elieux/ghc,anton-dessiatov/ghc,mcschroeder/ghc,ml9951/ghc,tjakway/ghcjvm,anton-dessiatov/ghc,urbanslug/ghc,gridaphobe/ghc,GaloisInc/halvm-ghc,tjakway/ghcjvm,spacekitteh/smcghc,vikraman/ghc,sgillespie/ghc,da-x/ghc,gridaphobe/ghc,holzensp/ghc,tjakway/ghcjvm,AlexanderPankiv/ghc,mfine/ghc,gridaphobe/ghc,TomMD/ghc,sdiehl/ghc,da-x/ghc,anton-dessiatov/ghc,holzensp/ghc,nkaretnikov/ghc,ezyang/ghc,ghc-android/ghc,oldmanmike/ghc,ghc-android/ghc,wxwxwwxxx/ghc,tjakway/ghcjvm,elieux/ghc,forked-upstream-packages-for-ghcjs/ghc,nathyong/microghc-ghc,nushio3/ghc,holzensp/ghc,forked-upstream-packages-for-ghcjs/ghc,fmthoma/ghc,ml9951/ghc,mfine/ghc,nathyong/microghc-ghc,christiaanb/ghc,nushio3/ghc,gcampax/ghc,wxwxwwxxx/ghc,anton-dessiatov/ghc,ghc-android/ghc,da-x/ghc,sdiehl/ghc,GaloisInc/halvm-ghc,gcampax/ghc,bitemyapp/ghc,jstolarek/ghc,forked-upstream-packages-for-ghcjs/ghc,ghc-android/ghc,sdiehl/ghc,ghc-android/ghc,shlevy/ghc,siddhanathan/ghc,wxwxwwxxx/ghc,tjakway/ghcjvm,da-x/ghc,snoyberg/ghc,acowley/ghc,green-haskell/ghc,ml9951/ghc,nathyong/microghc-ghc,TomMD/ghc,vTurbine/ghc,snoyberg/ghc,olsner/ghc,snoyberg/ghc,frantisekfarka/ghc-dsi,AlexanderPankiv/ghc,siddhanathan/ghc,oldmanmike/ghc,tibbe/ghc,tibbe/ghc,ml9951/ghc,mfine/ghc,sgillespie/ghc,vTurbine/ghc,siddhanathan/ghc,nkaretnikov/ghc,mettekou/ghc,oldmanmike/ghc,TomMD/ghc,nathyong/microghc-ghc,ezyang/ghc,christiaanb/ghc,oldmanmike/ghc,vikraman/ghc,nkaretnikov/ghc,sgillespie/ghc,elieux/ghc,jstolarek/ghc,sdiehl/ghc,nkaretnikov/ghc,nkaretnikov/ghc,gridaphobe/ghc,tibbe/ghc,acowley/ghc,vTurbine/ghc,mettekou/ghc