We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b6e45f commit 8b2405cCopy full SHA for 8b2405c
1 file changed
packages/sdk/browser/src/BrowserClient.ts
@@ -237,7 +237,10 @@ class BrowserClientImpl extends LDClientImpl {
237
identifyOptions?: LDIdentifyOptions,
238
): Promise<LDIdentifyResult> {
239
const res = await super.identifyResult(context, identifyOptions);
240
- this._goalManager?.startTracking();
+ // Ensure that we do not start the goal manager if start() is not called.
241
+ if (this.startPromise) {
242
+ this._goalManager?.startTracking();
243
+ }
244
return res;
245
}
246
0 commit comments