Call XboxdrvDaemon::on_disconnect() before actual disconnect happens
This commit is contained in:
parent
2ebda9ef58
commit
821f8e7c55
1 changed files with 1 additions and 2 deletions
|
@ -712,9 +712,8 @@ XboxdrvDaemon::connect(ControllerSlotPtr slot, ControllerThreadPtr thread)
|
|||
ControllerThreadPtr
|
||||
XboxdrvDaemon::disconnect(ControllerSlotPtr slot)
|
||||
{
|
||||
ControllerThreadPtr thread = slot->disconnect();
|
||||
on_disconnect(slot);
|
||||
return thread;
|
||||
return slot->disconnect();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Reference in a new issue