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 — see shouldTearDownVaultWindow for which of the two ownership flags means what, and why they are not interchangeable.

Signature:

unregisterVault(vaultPath: string): Promise<void>

Parameters:

ParameterTypeDescription
vaultPathstringThe absolute path to the vault folder.

Returns: Promise<void>