Skip to content

Commit

Permalink
blish-hud#956 Fix unloading module views
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharylia committed Sep 25, 2024
1 parent 2a3a2cd commit 90d01c5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Blish HUD/GameServices/Modules/UI/Views/ManageModuleView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -359,5 +359,13 @@ private void UpdateModuleRunState(string status, Color color, string tooltip = n
_moduleStateLabel.BasicTooltipText = tooltip;
}

protected override void Unload() {
base.Unload();

_permissionView?.Dispose();
_dependencyView?.Dispose();
_settingView?.Dispose();
}

}
}

0 comments on commit 90d01c5

Please sign in to comment.