Skip to content

Commit 53faad6

Browse files
committed
fixes
1 parent b15a63a commit 53faad6

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Kotlin-Coroutines_1.3.3/src/main/java/kotlin/coroutines/jvm/internal/BaseContinuationImpl.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
package kotlin.coroutines.jvm.internal;
22

33
import com.newrelic.api.agent.NewRelic;
4-
import com.newrelic.api.agent.Token;
54
import com.newrelic.api.agent.Trace;
65
import com.newrelic.api.agent.weaver.MatchType;
7-
import com.newrelic.api.agent.weaver.NewField;
86
import com.newrelic.api.agent.weaver.Weave;
97
import com.newrelic.api.agent.weaver.Weaver;
108

@@ -13,21 +11,11 @@
1311
@Weave(type=MatchType.BaseClass)
1412
public abstract class BaseContinuationImpl {
1513

16-
// @NewField
17-
// private Token token = null;
18-
1914
public BaseContinuationImpl(Continuation<Object> c) {
20-
// if(token == null) {
21-
// token = NewRelic.getAgent().getTransaction().getToken();
22-
// }
2315
}
2416

2517
@Trace(async=true)
2618
protected Object invokeSuspend(java.lang.Object obj) {
27-
// if(token != null) {
28-
// token.linkAndExpire();
29-
// token = null;
30-
// }
3119
String name = null;
3220
StackTraceElement element = getStackTraceElement();
3321
if(element != null) {

0 commit comments

Comments
 (0)