Fixed _stop() not being called when stop() is called

This commit is contained in:
BigPotatoAss 2024-09-29 19:37:29 +03:30
parent 72cff2ed59
commit 8c9139f310
1 changed files with 2 additions and 0 deletions

View File

@ -1247,6 +1247,8 @@ void AudioServer::stop_playback_stream(Ref<AudioStreamPlayback> p_playback) {
}
return;
}
p_playback->stop();
AudioStreamPlaybackListNode *playback_node = _find_playback_list_node(p_playback);
if (!playback_node) {