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
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 19:12:17 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2015-01-13 17:40:46 -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:07:38 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2014-12-21 18:00:13 -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-07 19:04:55 -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 13:42:45 -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-09 20:18:31 -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-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-28 22:19:37 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 10:31:59 -08:00
2015-01-09 16:36:58 -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-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 13:53:22 -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-22 16:52:44 -08:00
2014-12-19 10:31:59 -08:00
2014-12-19 11:34:07 -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-09 10:26: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
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
2015-01-12 14:06:29 -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 18:00: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
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
2014-12-19 10:31:59 -08:00
2015-01-09 15:31:30 -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
2012-04-17 20:02:00 -07:00