Un-async AniDB and use a lock, which supports recursion. Async appare… #1282
Annotations
7 warnings
Run dotnet publish:
Shoko.Server/API/v2/Modules/Init.cs#L277
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Run dotnet publish:
Shoko.Server/API/v2/Modules/Core.cs#L205
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Run dotnet publish:
Shoko.Server/Extensions/ModelClients.cs#L175
Possible null reference argument for parameter 'anime' in 'CL_AniDB_Anime ModelClients.ToClient(SVR_AniDB_Anime anime)'.
|
Run dotnet publish:
Shoko.Server/Repositories/Cached/AnimeSeriesRepository.cs#L423
Dereference of a possibly null reference.
|
Run dotnet publish:
Shoko.Server/Repositories/Cached/AnimeSeriesRepository.cs#L424
Dereference of a possibly null reference.
|
Run dotnet publish:
Shoko.Server/Repositories/Cached/AnimeSeriesRepository.cs#L431
Dereference of a possibly null reference.
|
Run dotnet publish:
Shoko.Server/Repositories/Cached/AnimeSeriesRepository.cs#L441
Argument of type 'List<SVR_AniDB_Anime?>' cannot be used for parameter 'anime' of type 'IEnumerable<AniDB_Anime>' in 'SortedSet<(int Year, AnimeSeason Season)> AnimeSeriesRepository.GetAllSeasons(IEnumerable<AniDB_Anime> anime)' due to differences in the nullability of reference types.
|
Loading