Changeset 17419 in josm


Ignore:
Timestamp:
2020-12-18T11:41:23+01:00 (3 months ago)
Author:
GerdP
Message:

see #19296: Actions should avoid to install listeners which are not needed

  • DownloadAlongAction doesn't use the listeners but is created for each right click on a GPX layer, stores a ref to GpxData and blocks GC
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/DownloadAlongAction.java

    r16553 r17419  
    6161     */
    6262    protected DownloadAlongAction(String name, String iconName, String tooltip, Shortcut shortcut, boolean registerInToolbar) {
    63         super(name, iconName, tooltip, shortcut, registerInToolbar);
     63        super(name, iconName, tooltip, shortcut, registerInToolbar, null, false);
    6464    }
    6565
Note: See TracChangeset for help on using the changeset viewer.