[Mono-bugs] [Bug 498507] mono _sometimes_ doesn't throw ObjectDisposedException when calling socket.Close()

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 28 12:55:32 EDT 2009


User gonzalo at novell.com added comment

Gonzalo Paniagua Javier <gonzalo at novell.com> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Gonzalo Paniagua Javier <gonzalo at novell.com>  2009-04-28 10:55:31 MDT ---
If you add a Thread.Sleep before the end of Main() you'll see that the connect
callback is always called. I'm getting a SocketException (connection refused)
with the IP I used. And the same results on windows.

The problem is that Main exits and there are no more "foreground" threads
running so the program might shut down the threadpool before the callback is
called (in my case MS *never* called the callback before adding the

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list