Skip to content

Commit

Permalink
(Discord RPC) Run callbacks on Dispose
Browse files Browse the repository at this point in the history
Fixes #304
  • Loading branch information
bagusnl committed Oct 29, 2023
1 parent ea62ad6 commit aac1e0f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public async ValueTask DisposeAsync()

// Dispose Discord RPC client
// _client?.Dispose();
UpdateCallbacksRoutine();
_client?.Dispose();
_client = null;
}
Expand Down

0 comments on commit aac1e0f

Please sign in to comment.