Telmo Sampaio <te***********@hotmail.com> wrote:
I do not know what is happening, however I can tell you you are not followig
the Dispose pattern correctly. The Dispose design pattern says that the
Dispose method can only be called once.
On the contrary - the Dispose design pattern specifically says that
IDisposable implementations should cope with Dispose being called
multiple times:
<quote>
If an object's Dispose method is called more than once, the object must
ignore all calls after the first one. The object must not throw an
exception if its Dispose method is called multiple times.
</quote>
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too