jellyfin / TMDbLib

C#.Net library for TheMovieDB
MIT License
357 stars 132 forks source link

1.9.0: Can't make TMDbClient requests #398

Closed angyanmark closed 2 years ago

angyanmark commented 2 years ago

In the new 1.9.0 release I can't make any request.

Reproduction:

TMDbClient client = new TMDbClient("api_key");
Movie movie = await client.GetMovieAsync(11);

Every request throws a System.ObjectDisposedException. The TestApplication project also fails.

NilixMaster commented 2 years ago

I also receive a similar message:

Dim T As New TMDbClient(API, True)
Dim res As SearchContainer(Of SearchMovie) = T.SearchMovieAsync("Searchtext").Result

Error-Message: One or more errors occurred. (Cannot access a disposed object. Object name: 'System.Net.Http.HttpConnectionResponseContent'.)

LordMike commented 2 years ago

Well - that was unprofessional...

LordMike commented 2 years ago

A last minute using should probably have been tested better. I'm pushing v1.9.1 shortly - I've unlisted v1.9.0.

angyanmark commented 2 years ago

1.9.1 works fine, thanks 👌