OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c37b073
)
ImageCache.Dispose(bool)でNullReferenceExceptionが起こる問題を修正
author
Kimura Youichi
<kim.upsilon@bucyou.net>
Sat, 6 Apr 2013 13:46:49 +0000
(22:46 +0900)
committer
Kimura Youichi
<kim.upsilon@bucyou.net>
Sat, 6 Apr 2013 13:57:05 +0000
(22:57 +0900)
OpenTween/ImageCache.cs
patch
|
blob
|
history
diff --git
a/OpenTween/ImageCache.cs
b/OpenTween/ImageCache.cs
index
cb2a3cf
..
5462a81
100644
(file)
--- a/
OpenTween/ImageCache.cs
+++ b/
OpenTween/ImageCache.cs
@@
-170,7
+170,7
@@
namespace OpenTween
foreach (var item in this.innerDictionary)
{
var task = item.Value;
- if (task.Status == TaskStatus.RanToCompletion)
+ if (task.Status == TaskStatus.RanToCompletion
&& task.Result != null
)
task.Result.Dispose();
}