Skip to content

Commit

Permalink
fix memory leak in the async_local_storage scope manager (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev authored Oct 23, 2020
1 parent 77893d3 commit 7a7c504
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/dd-trace/src/scope/async_local_storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ class Scope extends Base {
}

_activate (span, callback) {
if (span === null) {
return this._storage.exit(callback)
}
return this._storage.run(span, callback)
}
}
Expand Down

0 comments on commit 7a7c504

Please sign in to comment.