mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
sceNetAdhoc: Forget a blocking PTP connect when it's done
Its entry in sendTargetPeers stayed, so the next blocking connect from the same thread on a socket that got the same id returned BUSY (pspautotests net/adhoc/pair/basic, connect to a closed port, after a connected socket was closed). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a1a197e685
commit
7c9944b478
1 file changed
+2
@@ -1361,6 +1361,8 @@ static void __AdhocSocketNotify(u64 userdata, int cyclesLate) {
|
||||
CoreTiming::ScheduleEvent(usToCycles(delayUS) - cyclesLate, adhocSocketNotifyEvent, userdata);
|
||||
return;
|
||||
}
|
||||
// Done with it, or the next blocking connect on a socket that reuses this id would be BUSY.
|
||||
sendTargetPeers.erase(userdata);
|
||||
break;
|
||||
|
||||
case PTP_FLUSH:
|
||||
|
||||
Reference in new issue
Block a user