Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure proper disposal of _nhlPlayerApi resources
Modified the Dispose and DisposeAsync methods in the NhlApi class to include calls to _nhlPlayerApi.Dispose() before GC.SuppressFinalize(this). This ensures that _nhlPlayerApi resources are properly disposed of, preventing potential resource leaks both synchronously and asynchronously.
- Loading branch information