Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions packages/core/src/baseclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export abstract class BaseClient<B extends Backend, O extends Options> implement
protected readonly _dsn?: Dsn;

/** Array of used integrations. */
protected readonly _integrations: IntegrationIndex;
protected readonly _integrations: IntegrationIndex = {};

/** Is the client still processing a call? */
protected _processing: boolean = false;
Expand All @@ -72,7 +72,9 @@ export abstract class BaseClient<B extends Backend, O extends Options> implement
this._dsn = new Dsn(options.dsn);
}

this._integrations = setupIntegrations(this._options);
if (!options.enabled) {
this._integrations = setupIntegrations(this._options);
}
}

/**
Expand Down