mirror of
https://github.com/lightsoutgames/bevy_openal.git
synced 2024-12-21 12:46:01 +00:00
Release stopped sources to free up memory.
This commit is contained in:
parent
e053cfaa72
commit
52709cba18
|
@ -352,6 +352,8 @@ fn update_source_properties(
|
|||
}
|
||||
}
|
||||
}
|
||||
} else if sound.source.is_some() {
|
||||
sound.source = None;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user