]> gitweb.fperrin.net Git - GpsPrune.git/commit
Don't informSubscriber() after launching files
authorFrédéric Perrin <fred@fperrin.net>
Wed, 29 Jan 2020 15:23:56 +0000 (15:23 +0000)
committerFrédéric Perrin <fred@fperrin.net>
Sat, 10 Apr 2021 20:13:50 +0000 (21:13 +0100)
commitf41ac7316612b4ab86303e210edcadb0c95fcc87
tree01f8758c1174bc781b8de1c7ac1fe1b6e147f822
parentd3f97e3b42e9b12b8cb97d2282b646377f7f58f8
Don't informSubscriber() after launching files

It doesn't seem necessary (the recent files list is populater even
without), and creates a deadlock between:

AWT-EventQueue-0:
  [1] tim.prune.gui.profile.ProfileChart.makePopup (ProfileChart.java:381)
  [2] tim.prune.gui.profile.ProfileChart.dataUpdated (ProfileChart.java:459)
  [3] tim.prune.UpdateMessageBroker.informSubscribers (UpdateMessageBroker.java:84)
  [4] tim.prune.UpdateMessageBroker.informSubscribers (UpdateMessageBroker.java:68)
  [5] tim.prune.gui.map.MapCanvas.itemStateChanged (MapCanvas.java:149)
  [ ... ]
  [10] javax.swing.AbstractButton.setSelected (AbstractButton.java:348)
  [11] tim.prune.gui.map.MapCanvas.paintMapContents (MapCanvas.java:484)
  [12] tim.prune.gui.map.MapCanvas.paint (MapCanvas.java:380)

main:
  [ ... ]
  [11] javax.swing.JPopupMenu.<init> (JPopupMenu.java:178)
  [12] tim.prune.gui.profile.ProfileChart.makePopup (ProfileChart.java:381)
  [13] tim.prune.gui.profile.ProfileChart.dataUpdated (ProfileChart.java:459)
  [14] tim.prune.UpdateMessageBroker.informSubscribers (UpdateMessageBroker.java:84)
  [15] tim.prune.UpdateMessageBroker.informSubscribers (UpdateMessageBroker.java:68)
  [16] tim.prune.GpsPrune.launch (GpsPrune.java:266)
  [17] tim.prune.GpsPrune.main (GpsPrune.java:153)
src/tim/prune/GpsPrune.java