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:
2bf39a4
)
サムネイルのキャンセル処理を復活
author
Kimura Youichi
<kim.upsilon@bucyou.net>
Mon, 16 Jun 2014 15:51:47 +0000
(
00:51
+0900)
committer
Kimura Youichi
<kim.upsilon@bucyou.net>
Mon, 16 Jun 2014 16:04:44 +0000
(
01:04
+0900)
キャンセルを行わずにツイートの表示を切り替えると、タイミングによっては
前のツイートのサムネイル画像が表示されてしまう場合があるため
OpenTween/Tween.cs
patch
|
blob
|
history
diff --git
a/OpenTween/Tween.cs
b/OpenTween/Tween.cs
index
2ef8a84
..
a85ec33
100644
(file)
--- a/
OpenTween/Tween.cs
+++ b/
OpenTween/Tween.cs
@@
-6204,8
+6204,7
@@
namespace OpenTween
{
var oldTokenSource = this.thumbnailTokenSource;
- // TODO: キャンセルを行うとUIスレッドが阻害される問題を調査
- //oldTokenSource.Cancel();
+ oldTokenSource.Cancel();
this.thumbnailTask.ContinueWith(_ => oldTokenSource.Dispose());
}