You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason to this issue is that command calls parser.readAscii() and never finishes reading the socket stream, which prevents socket from being closed.
The text was updated successfully, but these errors were encountered:
Calling
device.isInstalled(pkg)
leads to a socket leak.If application calls this command in a loop, eventually app crashes with
EMFILE: too many open files
.Checking occupied sockets shows that they hang in
CLOSED
state, but never actually released by the machine.Environment:
Node: v20.11.0
OS: MacOS 12.6.5
The reason to this issue is that command calls
parser.readAscii()
and never finishes reading the socket stream, which prevents socket from being closed.The text was updated successfully, but these errors were encountered: