Skip to content

Commit 4d39fc5

Browse files
committed
chore: change from ending segment to touching for feature parity with shim
1 parent 0fd99ef commit 4d39fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/subscribers/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Subscriber {
4545

4646
asyncEnd() {
4747
const ctx = this.agent.tracer.getContext()
48-
ctx?.segment?.end()
48+
ctx?.segment?.touch()
4949
}
5050

5151
subscribe() {

0 commit comments

Comments
 (0)