ICEpdf
  1. ICEpdf
  2. PDF-706

Page pagePaint listeners not being removed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.4
    • Fix Version/s: 5.0.5
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any
    • Salesforce Case Reference:

      Description

      A supported customer came across this bug in our code when doing some tracing. The code reads as

          public void removePaintPageListener(PaintPageListener listener) {
              // remove a listener if it is already registered
              synchronized (paintPageListeners) {
                  if (paintPageListeners.contains(listener)) {
                      paintPageListeners.add(listener);
                  }

              }
          }

      The typo/bug is patinPageListeners.add() instead of remove.

        Activity

        Patrick Corless created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000YZ0GMAA1
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: