startup mask, fixes mpris preventing quit

This commit is contained in:
booploops 2022-02-28 20:04:12 -08:00
parent 2d16423106
commit 5a160068cf
5 changed files with 41 additions and 1 deletions

View file

@ -174,7 +174,11 @@ export default class MPRIS {
*/
onBeforeQuit(): void {
console.debug(`[Plugin][${this.name}] Stopped.`);
this.clearState()
try {
this.clearState()
}catch(e) {
console.error(e)
}
}
/**