File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,8 +152,9 @@ function enter(_ctx) {
152152 // TODO: Add an EventEmitter functionality for the current process
153153 // such as `instana.on('instana.collector.initialized')`.
154154 // eslint-disable-next-line no-unused-expressions
155- process ?. send ?. ( 'instana.collector.initialized' ) ;
155+ // process?.send?.('instana.collector.initialized');
156156
157+ /*
157158 if (!isMainThread) {
158159 const { parentPort } = require('worker_threads');
159160
@@ -162,6 +163,7 @@ function enter(_ctx) {
162163 parentPort.postMessage('instana.collector.initialized');
163164 }
164165 }
166+ */
165167}
166168
167169function leave ( ) {
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ function init(userConfig = {}) {
100100 }
101101
102102 if ( collectorIndexCacheKey ) {
103- process ?. send ?. ( 'instana.collector.initialized' ) ;
103+ // process?.send?.('instana.collector.initialized');
104104
105105 return require . cache [ collectorIndexCacheKey ] . exports ;
106106 } else {
You can’t perform that action at this time.
0 commit comments