mirror of
https://github.com/lightsoutgames/bevy_openal.git
synced 2024-11-21 08:55:56 +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