Skip to content

Commit 56c8e30

Browse files
committed
synchronization fixed
1 parent 980dfb0 commit 56c8e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visualvm/libs.profiler/profiler/src/org/graalvm/visualvm/lib/profiler/v2/ProfilerSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public final void setAttach(final boolean attach) {
157157

158158
Runnable updater = new Runnable() {
159159
public void run() {
160-
synchronized (this) { isAttach = attach; }
160+
synchronized (ProfilerSession.this) { isAttach = attach; }
161161
notifyStopAction();
162162
notifyWindow();
163163
}

0 commit comments

Comments
 (0)