On May 27, 2012, at 8:08 AM, devbuzz wrote: > Was looking in the 4.2.2 notes and saw this: > > Reduce lifetime of wrapped Streams in InputStreamAdapter, InputStreamInvoker, > OutputStreamAdapter, OutputStreamInvoker. Disposing of the wrapper instance > will now dispose the wrapped instance. > > Any chance this is the cause?
Damn, that's it. :-( The problem in your original code fragment is that Bitmap.Compress() creates an OutputStreamAdapter, which gets disposed at the end of the method (to reduce gref count), which disposes of the Stream that the OutputStreamAdapter wraps. Oops. I should have only changed the Invokers, not the Adapters... This will be fixed in 4.2.3. In the meantime, please revert to 4.2.1. - Jon _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
