Jump to content
Xtreme .Net Talk

Program hanging when calling Client.Dispose() (DirectPlay)


Recommended Posts

Posted

I'm having a problem where my application is locking up sometimes when I call Client.Dispose() for my DirectPlay app.

 

I haven't been able to figure out a specific repro case, but it definitely happens once in a while. I can step through the code in the debugger, and it calls Client.Dispose() and then just stays there and never moves to the next line of code.

 

Does anyone have any ideas of why this could be happening? Any help would be very much appreciated.

 

-Hiro_Antagonist

Posted
Have you tried enabling unmanaged code debugging and then breaking the program during the hang?

 

No, I hadn't, but I think the problem was tied to a very strange application architecture I was using. I found a way to do the strange thing I needed with a much less strange architecture, and the problem seems to have disappeared as a result.

 

-Hiro_Antagonist

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...