Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audio sinks don't need their custom drop anymore #9336

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

mockersf
Copy link
Member

@mockersf mockersf commented Aug 2, 2023

Objective

Solution

  • Remove that custom drop implementation, and the option wrapping that was required for it.

@mockersf mockersf added the A-Audio Sounds playback and modification label Aug 2, 2023
@Cyborus04
Copy link

ooh, I was wondering if that would fix it

@alice-i-cecile alice-i-cecile added the C-Bug An unexpected or incorrect behavior label Aug 3, 2023
@hymm hymm added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Aug 10, 2023
@mockersf mockersf added this pull request to the merge queue Aug 11, 2023
Merged via the queue into bevyengine:main with commit 47a5a16 Aug 11, 2023
24 checks passed
@cart cart added this to the 0.11.2 milestone Aug 16, 2023
cart pushed a commit that referenced this pull request Aug 17, 2023
# Objective

- Fixes #9324 
- Audio sinks used to have a custom drop implementation to detach the
sinks because it was not required to keep a reference to it
- With the new audio api, a reference is kept as a component of an
entity

## Solution

- Remove that custom drop implementation, and the option wrapping that
was required for it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Audio Sounds playback and modification C-Bug An unexpected or incorrect behavior S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Despawning audio entity does not stop the sound
5 participants