From 362ce8998780db67e5775125c6d6e3fc4d63586f Mon Sep 17 00:00:00 2001 From: Max Isom Date: Thu, 19 Mar 2020 17:24:46 -0500 Subject: [PATCH] Disconnect when finished playing --- src/services/player.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/player.ts b/src/services/player.ts index 19e01bb..27c6b33 100644 --- a/src/services/player.ts +++ b/src/services/player.ts @@ -287,6 +287,7 @@ export default class { await this.play(); } else { this.status = STATUS.PAUSED; + this.disconnect(); } } }