mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 16:33:25 -03:00
Ban the usage of Task.Result
If the calling function can't be made async easily you can still use .GetAwaiter().GetResult(), which is way easier to find in the future
This commit is contained in:
1
BannedSymbols.txt
Normal file
1
BannedSymbols.txt
Normal file
@@ -0,0 +1 @@
|
||||
P:System.Threading.Tasks.Task`1.Result
|
||||
Reference in New Issue
Block a user