Unfortunately, I cannot reproduce this situation in pure form,
because it is occured in distributed application.
But how is it possible at all I wonder ?
BinaryFormatter is not thread safe.
No, I use in each thread a new formatter:
public static object Deserialize( MemoryStream stream ) {
BinaryFormatter bf = new BinaryFormatter();
object obj = bf.Deserialize ( stream );
return ( obj );
}
Yury.
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list