Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Crash in timers.js on master "Cannot set property '_idlePrev' of null" #481

@BonsaiDen

Description

@BonsaiDen

That's what I get as soon as I write to a socket:
https://github.com/BonsaiDen/NodeGame-Orbit/blob/master/server/libs/socket.js#L277

timers.js:15011
      item._idleNext._idlePrev = item._idlePrev;
                               ^
TypeError: Cannot set property '_idlePrev' of null
    at Object.active (timers.js:150:32)
    at Stream._writeOut (net.js:370:21)
    at Stream.write (net.js:295:17)
    at Object.establish (/home/ivo/Desktop/NodeGame-Orbit/server/libs/socket.js:277:29)
    at Object.WebSocket (/home/ivo/Desktop/NodeGame-Orbit/server/libs/socket.js:135:14)
    at Server.<anonymous> (/home/ivo/Desktop/NodeGame-Orbit/server/libs/socket.js:40:48)
    at Server.emit (events.js:48:20)
    at Stream.<anonymous> (http.js:807:14)
    at Stream._onReadable (net.js:566:27)
    at IOWatcher.onReadable [as callback] (net.js:151:10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions