* Refresh sandbox config from current settings immediately * Call this after updating permissions to avoid race conditions
()
| 796 | * Call this after updating permissions to avoid race conditions |
| 797 | */ |
| 798 | function refreshConfig(): void { |
| 799 | if (!isSandboxingEnabled()) return |
| 800 | const settings = getSettings_DEPRECATED() |
| 801 | const newConfig = convertToSandboxRuntimeConfig(settings) |
| 802 | BaseSandboxManager.updateConfig(newConfig) |
| 803 | } |
| 804 | |
| 805 | /** |
| 806 | * Reset sandbox state and clear memoized values |
nothing calls this directly
no test coverage detected