Missing null check.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
This commit is contained in:
Konstantina Chremmou 2023-09-07 15:24:20 +01:00
parent 560ebc5a91
commit 78073c7123

View File

@ -81,7 +81,7 @@ namespace XenAdmin.TabPages
if (disposing) if (disposing)
{ {
DeregisterEvents(); DeregisterEvents();
_archiveMaintainer.Dispose(); _archiveMaintainer?.Dispose();
components?.Dispose(); components?.Dispose();
_disposed = true; _disposed = true;