Skip to content

Commit af23b89

Browse files
Update instrumentation/vaadin-14.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/vaadin/RpcInvocationHandlerInstrumentation.java
Co-authored-by: SylvainJuge <[email protected]>
1 parent 3b6665f commit af23b89

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

instrumentation/vaadin-14.2/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/vaadin/RpcInvocationHandlerInstrumentation.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ public static AdviceScope start(
6969
}
7070

7171
Context context = rpcInstrumenter().start(parentContext, request);
72-
Scope scope = context.makeCurrent();
73-
return new AdviceScope(request, context, scope);
72+
return new AdviceScope(request, context, context.makeCurrent());
7473
}
7574

7675
public void end(@Nullable Throwable throwable) {

0 commit comments

Comments
 (0)