startup mask, fixes mpris preventing quit
This commit is contained in:
parent
2d16423106
commit
5a160068cf
5 changed files with 41 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue