fix: discord RPC leaking on startup

This commit is contained in:
NoCrypt 2024-08-08 13:34:25 +07:00
parent 67b3e79c9c
commit b66ddc5175

View file

@ -30,7 +30,7 @@ export default class Discord {
/** @type {Discord['defaultStatus'] | undefined} */
cachedPresence
rpcEnabled = true // Property to track RPC state
rpcEnabled = false // Property to track RPC state
/** @param {import('electron').BrowserWindow} window */
constructor (window) {