Skip to content

Commit d4d6e1d

Browse files
authored
fix: allow multiple instances of core to interact with context (#1387)
1 parent 7fb70e0 commit d4d6e1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/opentelemetry-context-base/src/context.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class Context {
2929

3030
/** Get a key to uniquely identify a context value */
3131
public static createKey(description: string) {
32-
return Symbol(description);
32+
return Symbol.for(description);
3333
}
3434

3535
/**

0 commit comments

Comments
 (0)