locked
FileQueryResult object is garbage collected although oncontentschanged listener is registered on it

    Question

  • Is this normal JS behaviour that a FileQueryResult object with attached oncontentschanged listener is garbage collected if its not a global variable?

    I would have assumed that as long as the object itself holds a reference to a callback function (the changed listener) it cannot be garbage collected?

    Friday, November 23, 2012 7:21 AM