Skip to content

Commit 0ad3a74

Browse files
committed
Fix deadlock.
1 parent 19465f9 commit 0ad3a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SerialPrograms/Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_Connection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class TcpSysbotBase_Connection : public ControllerConnection, private ClientSock
3232
m_listeners.add(listener);
3333
}
3434
void remove_listener(Listener& listener){
35-
m_listeners.add(listener);
35+
m_listeners.remove(listener);
3636
}
3737

3838
public:

0 commit comments

Comments
 (0)