From 80c6fb858163c7c915e15a884f31528f66139fff Mon Sep 17 00:00:00 2001 From: Nielk1 Date: Tue, 21 May 2019 16:04:50 -0500 Subject: [PATCH] fixed crash exiting without theme set and bumped version for next release. --- VSCView/MainForm.cs | 4 ++-- VSCView/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VSCView/MainForm.cs b/VSCView/MainForm.cs index 95c120a..e965cd4 100644 --- a/VSCView/MainForm.cs +++ b/VSCView/MainForm.cs @@ -236,7 +236,7 @@ protected override void OnPaint(PaintEventArgs e) private void tsmiExit_Click(object sender, EventArgs e) { - ttimer.Change(Timeout.Infinite, Timeout.Infinite); + ttimer?.Change(Timeout.Infinite, Timeout.Infinite); this.Close(); } @@ -267,7 +267,7 @@ private void tsmiSetBackgroundColor_Click(object sender, EventArgs e) private void MainForm_FormClosed(object sender, FormClosedEventArgs e) { - ttimer.Change(Timeout.Infinite, Timeout.Infinite); + ttimer?.Change(Timeout.Infinite, Timeout.Infinite); } } diff --git a/VSCView/Properties/AssemblyInfo.cs b/VSCView/Properties/AssemblyInfo.cs index f8c4969..b370b0d 100644 --- a/VSCView/Properties/AssemblyInfo.cs +++ b/VSCView/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.3.1.6")] -[assembly: AssemblyFileVersion("0.3.1.6")] +[assembly: AssemblyVersion("0.3.1.7")] +[assembly: AssemblyFileVersion("0.3.1.7")]