Erik (and others).

Do we know for sure whether removeEventListener works for FlexJS with
goog.bind()?  I think I just stepped into it and it didn’t work because
for code like this:

      e.addEventListener(“foo", goog.bind(this.handler, this));
      <more code>
      e.removeEventListener(“foo", goog.bind(this.handler, this));

goog.bind() will return a different “closure” on the second call to
goog.bind() so it won’t be found as a listener.



Thanks,
-Alex

Reply via email to