Skip to content

Commit 80c6fb8

Browse files
committed
fixed crash exiting without theme set and bumped version for next release.
1 parent 162e750 commit 80c6fb8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

VSCView/MainForm.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ protected override void OnPaint(PaintEventArgs e)
236236

237237
private void tsmiExit_Click(object sender, EventArgs e)
238238
{
239-
ttimer.Change(Timeout.Infinite, Timeout.Infinite);
239+
ttimer?.Change(Timeout.Infinite, Timeout.Infinite);
240240
this.Close();
241241
}
242242

@@ -267,7 +267,7 @@ private void tsmiSetBackgroundColor_Click(object sender, EventArgs e)
267267

268268
private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
269269
{
270-
ttimer.Change(Timeout.Infinite, Timeout.Infinite);
270+
ttimer?.Change(Timeout.Infinite, Timeout.Infinite);
271271
}
272272
}
273273

VSCView/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.3.1.6")]
36-
[assembly: AssemblyFileVersion("0.3.1.6")]
35+
[assembly: AssemblyVersion("0.3.1.7")]
36+
[assembly: AssemblyFileVersion("0.3.1.7")]

0 commit comments

Comments
 (0)