dev
Revisão | 9795f693fdd065e1dfe809b752c06bf219219210 (tree) |
---|---|
Hora | 2013-04-06 22:57:05 |
Autor | Kimura Youichi <kim.upsilon@bucy...> |
Commiter | Kimura Youichi |
ImageCache.Dispose(bool)でNullReferenceExceptionが起こる問題を修正
@@ -170,7 +170,7 @@ namespace OpenTween | ||
170 | 170 | foreach (var item in this.innerDictionary) |
171 | 171 | { |
172 | 172 | var task = item.Value; |
173 | - if (task.Status == TaskStatus.RanToCompletion) | |
173 | + if (task.Status == TaskStatus.RanToCompletion && task.Result != null) | |
174 | 174 | task.Result.Dispose(); |
175 | 175 | } |
176 | 176 |