Flotype / now

NowJS makes it easy to build real-time web apps using JavaScript
http://www.nowjs.com
MIT License
1.91k stars 175 forks source link

Crash on reassign #138

Closed jnordberg closed 13 years ago

jnordberg commented 13 years ago

Assigning the same variable in a now context twice causes node crash, no errors.

to reproduce:

everyone.now.crash = function() {
  this.now.foo = {'some': 'thing'};
  this.now.foo = {'another': 'thing'};
};

seems only to happen with objects

my setup:

tested against 0.7.4 and master

ericz commented 13 years ago

Hi jnordberg, can you check if the commit https://github.com/Flotype/now/commit/f3830da2f4ff36b54357c5c27f81f5c80d444fd0 fixes this issue for you?

Thanks, Eric

jnordberg commented 13 years ago

Yup, it did.