public async Task DisconnectAsync() { await ButtplugFFI.SendDisconnect(_messageSorter, _clientHandle); _devices.Clear(); Connected = false; }
public async Task DisconnectAsync() { await ButtplugFFI.SendDisconnect(_messageSorter, _clientHandle, SorterCallbackDelegate, GCHandle.ToIntPtr(_indexHandle)); _devices.Clear(); Connected = false; }