[AltServer] Fixes disconnecting ALTWiredConnection’s

ALTWiredConnection.disconnect() doesn’t do anything if ALTWiredConnection.isConnected == NO. The problem is, we never set .isConnected to YES in the first place…which means disconnect() never actually did anything. Whoops.
This commit is contained in:
Riley Testut
2022-05-25 15:07:38 -07:00
parent fd81092392
commit b45c859861

View File

@@ -20,6 +20,8 @@
{
_device = [device copy];
_connection = connection;
self.connected = YES;
}
return self;