mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-03 23:34:09 +02:00
Add a null check to FlatProgressBar.brush
This commit is contained in:
parent
39f554693d
commit
f99435ff6a
2
Core/Controls/FlatProgressBar.Designer.cs
generated
2
Core/Controls/FlatProgressBar.Designer.cs
generated
@ -10,7 +10,7 @@ partial class FlatProgressBar {
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing) {
|
||||
brush.Dispose();
|
||||
if (brush != null)brush.Dispose();
|
||||
|
||||
if (disposing && (components != null)) {
|
||||
components.Dispose();
|
||||
|
Loading…
Reference in New Issue
Block a user