We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b0318c4 + b5d5099 commit 72d1290Copy full SHA for 72d1290
app/electron/main.ts
@@ -1327,6 +1327,11 @@ function adjustZoom(delta: number) {
1327
function startElectron() {
1328
console.info('App starting...');
1329
1330
+ // Increase max listeners to prevent false positive warnings
1331
+ // The app legitimately needs multiple IPC listeners (currently 11)
1332
+ // Default is 10, setting to 20 provides headroom for future additions
1333
+ ipcMain.setMaxListeners(20);
1334
+
1335
let appVersion: string;
1336
if (isDev && process.env.HEADLAMP_APP_VERSION) {
1337
appVersion = process.env.HEADLAMP_APP_VERSION;
0 commit comments