# HG changeset patch # User Lucas Thompson # Date 1498834603 -3600 # Node ID 3a76205e06b64265b83fd831bbf726343f949a4f # Parent 2fb2357420f9f2887f7e077bed013b86472a6c5b Unload audio when stack is empty. diff -r 2fb2357420f9 -r 3a76205e06b6 src/app/notebook-feed/notebook-feed.component.ts --- 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;