Skip to content

Commit

Permalink
clearSingleton for other renderers
Browse files Browse the repository at this point in the history
  • Loading branch information
gnoff committed Oct 8, 2022
1 parent c3ed935 commit 5b34140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ function shim(...args: any) {
// Resources (when unsupported)
export const supportsSingletons = false;
export const resolveSingletonInstance = shim;
export const clearSingleton = shim;
export const acquireSingletonInstance = shim;
export const releaseSingletonInstance = shim;
export const isHostSingletonType = shim;
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ export const releaseResource = $$$hostConfig.releaseResource;
// -------------------
export const supportsSingletons = $$$hostConfig.supportsSingletons;
export const resolveSingletonInstance = $$$hostConfig.resolveSingletonInstance;
export const clearSingleton = $$$hostConfig.clearSingleton;
export const acquireSingletonInstance = $$$hostConfig.acquireSingletonInstance;
export const releaseSingletonInstance = $$$hostConfig.releaseSingletonInstance;
export const isHostSingletonType = $$$hostConfig.isHostSingletonType;

0 comments on commit 5b34140

Please sign in to comment.