Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35231

[FalconJX] Context Lost on Event Listeners

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache FalconJX 0.8.0
    • Apache FalconJX 0.8.0
    • FalconJX
    • None

    Description

      When there are callbacks in which event listeners are added, the compiler calls the Language.closure method with incorrect arguments, namely the second argument should be 'self' rather than 'this'.

      For example, in this test app:
      https://paste.apache.org/3GsA

      The result is:
      https://paste.apache.org/C0P2

      Consequently if you run the test app in release (strict) mode you'll get a run time error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yishayw Yishay Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: