Commit 4938a94e authored by nanahira's avatar nanahira

comment

parent 717ad36c
...@@ -113,7 +113,7 @@ void NetServer::StopServer() { ...@@ -113,7 +113,7 @@ void NetServer::StopServer() {
return; return;
if(duel_mode) if(duel_mode)
duel_mode->EndDuel(); duel_mode->EndDuel();
#ifdef YGOPRO_SERVER_MODE #ifdef YGOPRO_SERVER_MODE // For solving the problem of connection lost after duel. See https://github.com/Fluorohydride/ygopro/issues/2067 for details.
timeval etv = { 0, 1 }; timeval etv = { 0, 1 };
event_base_loopexit(net_evbase, &etv); event_base_loopexit(net_evbase, &etv);
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment