Mercurial > hg > ugly-duckling
changeset 469:3a76205e06b6
Unload audio when stack is empty.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 30 Jun 2017 15:56:43 +0100 |
parents | 2fb2357420f9 |
children | 2142e7820706 |
files | src/app/notebook-feed/notebook-feed.component.ts |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/app/notebook-feed/notebook-feed.component.ts Fri Jun 30 15:35:16 2017 +0100 +++ b/src/app/notebook-feed/notebook-feed.component.ts Fri Jun 30 15:56:43 2017 +0100 @@ -34,6 +34,8 @@ if (front && getRootUri(front) !== this.currentAudioUri) { this.audioService.unload(); this.audioService.loadAudioFromUri(getRootUri(front)); + } else if (!front) { + this.audioService.unload(); } } this.mAnalyses = analyses;