Since the terminal was refactored the react state reinitialised each time the page was loaded, leading to the number of active listeners to increase unbounded. This is evident in the error logs as:
(node:19608) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 terminal/receive-data listeners added to [IpcRenderer]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(Use `GRAPEVNE Helper (Renderer) --trace-warnings ...` to show where the warning was created)
Since the terminal was refactored the react state reinitialised each time the page was loaded, leading to the number of active listeners to increase unbounded. This is evident in the error logs as: