unload extension

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 8.0 Security:

# Syntax

unload extension extensionIdentifier

# Params

- extensionIdentifier : The identifier of the extension to unload.

# Examples

unload extension com.livecode.widget.navbar

-- Unload all extensions repeat for each line tExtension in the loadedExtensions unload extension tExtension end repeat

# Description

Use the unload extension command to unload a LiveCode Builder extension. The extension is removed from memory. If the extension is a library, its public handlers will no longer be in the message path. If it is a widget, it will no longer be available as a control to add to a stack.

If a module with the given identifier has already been loaded into memory, the result will be set to "module already loaded".

If there is no module with the given identifier loaded into memory, the result will be set to "module not loaded".

If the module is currently in use by another module or a widget, the result will be set to "module in use".

# Tags

# See

- **command:** load extension - **function:** loadedExtensions - **glossary:** LiveCode Builder extension