Skip to content

Commit 90d01c5

Browse files
committed
#956 Fix unloading module views
1 parent 2a3a2cd commit 90d01c5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Blish HUD/GameServices/Modules/UI/Views/ManageModuleView.cs

+8
Original file line numberDiff line numberDiff line change
@@ -359,5 +359,13 @@ private void UpdateModuleRunState(string status, Color color, string tooltip = n
359359
_moduleStateLabel.BasicTooltipText = tooltip;
360360
}
361361

362+
protected override void Unload() {
363+
base.Unload();
364+
365+
_permissionView?.Dispose();
366+
_dependencyView?.Dispose();
367+
_settingView?.Dispose();
368+
}
369+
362370
}
363371
}

0 commit comments

Comments
 (0)