Error can be raised when an EVE client is closed while the thumbnails list is being updated

This commit is contained in:
Anton Kasyanov
2018-03-28 01:44:53 +03:00
parent 6a85a9208a
commit af131cdc51
2 changed files with 16 additions and 4 deletions

View File

@@ -127,7 +127,7 @@ namespace EveOPreview.View
public new void Close()
{
this.IsActive = false;
this._thumbnail.Unregister();
this._thumbnail?.Unregister();
this._overlay.Close();
base.Close();
}