melonDS icon indicating copy to clipboard operation
melonDS copied to clipboard

Fix gdb ports not closing after restarting/crashing

Open GalaxyShard opened this issue 1 year ago • 0 comments

In some cases restarting melonDS with GDB enabled will produce the following error:

[GDB] err: can't bind to address <any> and port 7000

This PR should fix the error by enabling SO_REUSEADDR on the socket opened for the GDB stub. With this patch I can no longer reproduce the above error.

GalaxyShard avatar Oct 23 '24 07:10 GalaxyShard