8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_sendSessionUpdate
1 parent 3723da4 commit b5952dfCopy full SHA for b5952df
packages/core/src/hub.ts
@@ -446,13 +446,10 @@ export class Hub implements HubInterface {
446
*/
447
private _sendSessionUpdate(): void {
448
const { scope, client } = this.getStackTop();
449
- if (!scope) return;
450
451
const session = scope.getSession();
452
- if (session) {
453
- if (client && client.captureSession) {
454
- client.captureSession(session);
455
- }
+ if (session && client && client.captureSession) {
+ client.captureSession(session);
456
}
457
458
0 commit comments