OpenOrbis / mira-project

mira rewrite in cxx
GNU General Public License v3.0
290 stars 65 forks source link

LogServer: fix listening after suspending and resuming the system #166

Open pipehuffer opened 8 months ago

pipehuffer commented 8 months ago

When resuming and suspending the console, the log server's socket seems to remain open, but won't send any data to its client. This patch fixes it by ensuring any old socket is closed before creating the log server thread. Tested on firmware 9.00