microsoft/vscode-extension-telemetry

Multiple application insights clients are created when Reporter is initialized

amunger opened this issue · 0 comments

This seems to happen pretty consistently - The following check only prevents initialization if the client has completed setting up:

But InstantiateAppender is called from the constructor and updateUserOptStatus, which both happen during the initialization of the reporter (if telemetry is enabled), and within the time it takes to create the client .