From: くまかみ工房 Date: Sat, 22 Oct 2016 07:14:12 +0000 (+0900) Subject: 動画デコーダを起動してない場合、終了時に null 参照例外がでる不具合を修正。 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=21b9312323702507eca70e05d005bf6dfdc0cb33;p=strokestylet%2FCsWin10Desktop3.git 動画デコーダを起動してない場合、終了時に null 参照例外がでる不具合を修正。 --- diff --git a/FDK24/メディア/動画デコーダ.cs b/FDK24/メディア/動画デコーダ.cs index 76c21ef..32a6f36 100644 --- a/FDK24/メディア/動画デコーダ.cs +++ b/FDK24/メディア/動画デコーダ.cs @@ -186,7 +186,7 @@ namespace FDK.メディア { // デコードタスクを停止する。 this.タスクを終了せよ.Set(); - this.デコードタスク.Wait(); + this.デコードタスク?.Wait(); // デコードタスクは、デコーダを起動してない場合は null になる。 this.キューが空いた.Close(); this.タスクを終了せよ.Close(); diff --git a/StrokeStyleT.sln b/StrokeStyleT.sln index eff2a4d..062fc83 100644 --- a/StrokeStyleT.sln +++ b/StrokeStyleT.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +VisualStudioVersion = 14.0.25402.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StrokeStyleT", "StrokeStyleT\StrokeStyleT.csproj", "{ED72FD06-C276-42DC-9301-83DE699BDF4C}" EndProject @@ -16,9 +16,6 @@ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SSTFEditor", "SSTFEditor\SSTFEditor.csproj", "{487B9AFD-05D4-41AE-9800-21E16B382BB7}" EndProject Global - GlobalSection(Performance) = preSolution - HasPerformanceSessions = true - EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU