Skip to content

DesktopCdpTransport.unregisterVault method

DesktopCdpTransport › unregisterVault

Unregisters a vault by destroying its window and removing it from the registry.

Refuses when this transport does not own what it would be tearing down: an owned instance (killed wholesale instead), or a window this transport did not open itself — see shouldTearDownVaultWindow.

Signature:

unregisterVault(vaultPath: string): Promise<void>

Parameters:

ParameterTypeDescription
vaultPathstringThe absolute path to the vault folder.

Returns: Promise<void>