Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Buttplug/Client/ButtplugWebsocketConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ private async Task RunClientLoop(CancellationToken token)
if (_wsClient != null)
{
// Clean up the websocket and fire the disconnection event.
_wsClient.CloseAsync(WebSocketCloseStatus.NormalClosure, "Closing", CancellationToken.None).Dispose();
_ = _wsClient.CloseAsync(WebSocketCloseStatus.NormalClosure, "Closing", CancellationToken.None);
_wsClient = null;
}
// If we somehow still have some live messages, throw exceptions so they aren't stuck.
Expand Down