You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation/executors/bootstrap/src/main/java/io/opentelemetry/javaagent/bootstrap/executors/ExecutorAdviceHelper.java
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,7 @@ public static <T> void cleanUpAfterSubmit(
109
109
exceptions.
110
110
*/
111
111
propagatedContext.clear();
112
+
// setting the field to null removes it from the fallback map
112
113
virtualField.set(task, null);
113
114
}
114
115
}
@@ -122,8 +123,9 @@ public static <T> void cleanPropagatedContext(
Copy file name to clipboardExpand all lines: instrumentation/executors/bootstrap/src/main/java/io/opentelemetry/javaagent/bootstrap/executors/TaskAdviceHelper.java
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ public static <T> Scope makePropagatedContextCurrent(
0 commit comments