Skip to content

TypeError: null is not an object (evaluating '_private.socket.send') #4

@Julius112

Description

@Julius112

I found a problem when submitting requests too quickly.
In my case I'm using mpd.setVolume() to increase the volume. My frontend has a volume increase button. When I click the button really quickly, I get this message on the frontend of another client, which is receiving the StateChanged events. The first 3-5 changes go through, after that I get the error and the connection seems to be dropped(?).

I'm submitting this to check, if it's a known issue. I'll have a look next weekend, if I can spot and fix the bug.

TypeError: null is not an object (evaluating '_private.socket.send')
sendString - mpd.js: 1068
processComandQueue - mpd.js: 1256
(anonymous function) - mpd.js: 1173

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions