Skip to content

Commit

Permalink
fix: allow multiple instances of core to interact with context (open-…
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Feb 18, 2021
1 parent 1836942 commit e74ab27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/context-base/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class Context {

/** Get a key to uniquely identify a context value */
public static createKey(description: string) {
return Symbol(description);
return Symbol.for(description);
}

/**
Expand Down

0 comments on commit e74ab27

Please sign in to comment.