mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 19:23:43 +01:00
[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:
@@ -20,6 +20,8 @@
|
|||||||
{
|
{
|
||||||
_device = [device copy];
|
_device = [device copy];
|
||||||
_connection = connection;
|
_connection = connection;
|
||||||
|
|
||||||
|
self.connected = YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
|
|||||||
Reference in New Issue
Block a user