diff options
| author | Mike <github@barry.io> | 2015-03-25 21:30:26 -0400 |
|---|---|---|
| committer | Mike <github@barry.io> | 2015-03-25 21:30:26 -0400 |
| commit | a1a6366833cbf3624c5a84c7a2a4d74b635d5aef (patch) | |
| tree | 35591d4bf777b9e8f0a7d35ffb528defca0c06ca /MediaBrowser.Model/Configuration/EncodingOptions.cs | |
| parent | 9f191a3598f8d1cc6764169943186987be33a707 (diff) | |
Fix null reference exception when awaiting null.
DynamicImageProvider:CreateImageAsync was not marked as async. When returning null the await BaseDynamicImageProvider:FetchToFileInternal would throw a null reference exception. An alternative solution would be to wrap the null return in Task.FromResult.
Object reference not set to an instance of an object.
System.NullReferenceException
at MediaBrowser.Server.Implementations.Photos.BaseDynamicImageProvider`1.<FetchToFileInternal>d__c.MoveNext() in c:\MediaBrowser\MediaBrowser.Server.Implementations\Photos\BaseDynamicImageProvider.cs:line 79
Diffstat (limited to 'MediaBrowser.Model/Configuration/EncodingOptions.cs')
0 files changed, 0 insertions, 0 deletions
