Skip to content

Commit

Permalink
Merge pull request #986 from Tharylia/fix/unload-module-setting-view
Browse files Browse the repository at this point in the history
Fix unloading module views
  • Loading branch information
dlamkins authored Sep 29, 2024
2 parents 35c95fc + 90d01c5 commit 9378850
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 9378850

Please sign in to comment.