Describe The Bug:
Upon starting Homebridge, I'm seeing a MemoryLeak error from this plugin.
To Reproduce:
Restart Homebridge.
Expected behavior:
No memory leaks.
Logs:
(node:13690) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
at _addListener (node:events:591:17)
at Socket.addListener (node:events:609:10)
at UdpDiscoveryNetworkFactory.createRawMessages (/homebridge/node_modules/homebridge-playstation/node_modules/playactor/dist/discovery/udp.js:132:16)
at UdpDiscoveryNetworkFactory.createMessages (/homebridge/node_modules/homebridge-playstation/node_modules/playactor/dist/discovery/udp.js:113:21)
at UdpDiscoveryNetworkFactory.createDevices (/homebridge/node_modules/homebridge-playstation/node_modules/playactor/dist/discovery/udp.js:148:21)
at /homebridge/node_modules/homebridge-playstation/node_modules/playactor/dist/discovery/standard.js:16:99
at Array.map (<anonymous>)
at Object.createDevices (/homebridge/node_modules/homebridge-playstation/node_modules/playactor/dist/discovery/standard.js:16:76)
at Discovery.discover (/homebridge/node_modules/homebridge-playstation/node_modules/playactor/dist/discovery.js:22:45)
Describe The Bug: Upon starting Homebridge, I'm seeing a MemoryLeak error from this plugin.
To Reproduce: Restart Homebridge.
Expected behavior: No memory leaks.
Logs:
Plugin Config:
Screenshots: N/A
Environment: