Merge pull request #23653 from marcelofg55/as_stop

Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop
This commit is contained in:
Rémi Verschelde 2018-11-12 08:56:19 +01:00 committed by GitHub
commit 85f0ce40e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -219,6 +219,7 @@ void AudioStreamPlayer::seek(float p_seconds) {
void AudioStreamPlayer::stop() {
if (stream_playback.is_valid()) {
stream_playback->stop();
active = false;
set_process_internal(false);
}