Files
meteor/packages
David Glasser 25c11c69cf Fix double execution of Session.close
In Session.close, `self.socket.close` could trigger this event handler:

    socket.on('close', function () {
      if (socket._meteorSession) {
        Fiber(function () {
          socket._meteorSession.close();
        }).run();
      }
    });

which could trigger a reentrant call to Session.close.  The self.inQueue
guard was not sufficient to stop multiple execution, because it was too
low.

Symptoms included:

- The "sessions" server fact would be decremented twice and become
  inaccurate (and even negative!)
- Connection.onClose callbacks could be called twice

Fixes #3331.
2015-01-14 17:50:16 -08:00
..
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2015-01-14 17:50:16 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2015-01-13 16:57:24 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-22 16:52:44 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-22 16:52:44 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2015-01-09 15:53:49 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2015-01-12 11:16:06 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2015-01-09 15:53:49 -08:00
2014-12-19 10:31:59 -08:00