chore: remove unused kTestSdkObjects
Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
71a668eb86
commit
3f44858e61
|
|
@ -37,8 +37,6 @@ export type Attribution = {
|
|||
import type { CallMetadata } from '@protocol/callMetadata';
|
||||
export type { CallMetadata } from '@protocol/callMetadata';
|
||||
|
||||
export const kTestSdkObjects = new WeakSet<SdkObject>();
|
||||
|
||||
export class SdkObject extends EventEmitter {
|
||||
guid: string;
|
||||
attribution: Attribution;
|
||||
|
|
@ -50,8 +48,6 @@ export class SdkObject extends EventEmitter {
|
|||
this.setMaxListeners(0);
|
||||
this.attribution = { ...parent.attribution };
|
||||
this.instrumentation = parent.instrumentation;
|
||||
if (process.env._PW_INTERNAL_COUNT_SDK_OBJECTS)
|
||||
kTestSdkObjects.add(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue