Skip to content

Commit

Permalink
even simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-fernandez committed Oct 29, 2024
1 parent 4b221e5 commit c20ae05
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const log = require('../log')

const probeIdToResolvePromise = new Map()

let testVisDynamicInstrumentation = null

class TestVisDynamicInstrumentation {
constructor () {
this.worker = null
Expand Down Expand Up @@ -60,10 +58,4 @@ class TestVisDynamicInstrumentation {
}
}

module.exports = (config) => {
if (!testVisDynamicInstrumentation) {
testVisDynamicInstrumentation = new TestVisDynamicInstrumentation(config)
}

return testVisDynamicInstrumentation
}
module.exports = new TestVisDynamicInstrumentation()

0 comments on commit c20ae05

Please sign in to comment.