OSDN Git Service
(root)
/
strokestylet
/
CsWin10Desktop3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bc0175
)
ビュアーモードで起動したときの終了時に Null 参照例外が発生することがあるミスを修正。
author
くまかみ工房
<kumakamikoubou@gmail.com>
Sat, 26 Nov 2016 08:28:41 +0000
(17:28 +0900)
committer
くまかみ工房
<kumakamikoubou@gmail.com>
Sat, 26 Nov 2016 08:28:41 +0000
(17:28 +0900)
FDK24/メディア/動画.cs
patch
|
blob
|
history
diff --git
a/FDK24/メディア/動画.cs
b/FDK24/メディア/動画.cs
index
6c3402a
..
7925e11
100644
(file)
--- a/
FDK24/メディア/動画.cs
+++ b/
FDK24/メディア/動画.cs
@@
-317,12
+317,15
@@
namespace FDK.メディア
#region " デコードタスクが起動していたら、終了する。"
//----------------
- this._デコードタスクを終了せよ.Set();
+ if( null != this._デコードタスク )
+ {
+ this._デコードタスクを終了せよ.Set();
- if( !this._デコードタスク.Wait( 2000 ) )
- FDK.Log.WARNING( "デコードタスクの終了待ちがタイムアウトしました。" );
+
if( !this._デコードタスク.Wait( 2000 ) )
+
FDK.Log.WARNING( "デコードタスクの終了待ちがタイムアウトしました。" );
- this._デコードタスク = null;
+ this._デコードタスク = null;
+ }
//----------------
#endregion