use apiLoaded 'once'

This commit is contained in:
Araxeus
2021-10-30 12:17:32 +03:00
parent 68996809f0
commit 62e8e673eb
4 changed files with 4 additions and 4 deletions

View File

@ -15,5 +15,5 @@ module.exports = () => {
const data = e.detail.getPlayerResponse();
ipcRenderer.send("song-info-request", JSON.stringify(data));
});
})
}, { once: true, passive: true})
};