lwuit
  1. lwuit
  2. LWUIT-492

missing null or clear of Form.buttonsAwatingRelease

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      any

      Description

      The patch for revision 1634 (the one that introduced the Form.buttonsAwatingRelease field) does not null or clear the Form.buttonsAwatingRelease vector after resetting the state of all buttons at the end of the Form.pointerReleased(int, int) method. So the buttons might just add up in the vector. Unlikely this will cause problems or even happen often, but today I feel pedantic

        Activity

        Hide
        vprise added a comment -

        Added that, I originally wanted the button to remove itself (which it should) but setting the vector to null seems to be a reasonable safeguard.

        Show
        vprise added a comment - Added that, I originally wanted the button to remove itself (which it should) but setting the vector to null seems to be a reasonable safeguard.

          People

          • Assignee:
            Unassigned
            Reporter:
            thorsten_s
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: