Fix #6335: document the Color Settings test guard's drop

This commit is contained in:
Sven Lafebre
2026-11-10 22:07:56 +01:00
parent 12bc0a49b5
commit 8ce5df2109
+1
View File
@@ -457,6 +457,7 @@ struct ColorSettingsReset {
}
impl Drop for ColorSettingsReset {
/// The defaults back, the profile unregistered and the paths deleted.
fn drop(&mut self) {
let _ = cms::set_active(&cms::ColorSettings::default());
if let Some(name) = self.profile {