Release stopped sources to free up memory.

This commit is contained in:
Nolan Darilek 2022-04-12 09:47:15 -05:00
parent e053cfaa72
commit 52709cba18

View File

@ -352,6 +352,8 @@ fn update_source_properties(
}
}
}
} else if sound.source.is_some() {
sound.source = None;
}
}
}