atlas-engineer / cl-electron

Lisp Interface to Electron.
BSD 3-Clause "New" or "Revised" License
18 stars 2 forks source link

Refactor IPC architecture #44

Closed aadcg closed 1 week ago

aadcg commented 4 months ago

Currently it suffers from the following issues:

  1. There's a limit to the amount of sockets that can be created (ulimit -a | grep files). However, each call to execute-javascript-synchronous creates a socket that isn't deleted when no longer needed.
  2. After the Electron process terminates, there are dangling sockets.
  3. Start electron-window-example, hit C-q and see that a socket error is signaled.