We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e41fa commit ba04f20Copy full SHA for ba04f20
visualvm/core/src/org/graalvm/visualvm/core/datasupport/AsyncPropertyChangeSupport.java
@@ -66,12 +66,14 @@ public void firePropertyChange(final PropertyChangeEvent evt) {
66
if (evt == null) {
67
throw new NullPointerException();
68
}
69
- executor.submit(new Runnable() {
+ if (getPropertyChangeListeners().length>0) {
70
+ executor.submit(new Runnable() {
71
- public void run() {
72
- AsyncPropertyChangeSupport.super.firePropertyChange(evt);
73
- }
74
- });
+ public void run() {
+ AsyncPropertyChangeSupport.super.firePropertyChange(evt);
+ }
75
+ });
76
77
78
79
0 commit comments