releaseStack

Sent to a stack when the stack is removed from the message path with the stop using command.

# Metadata

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

# Syntax

releaseStack

# Examples

on releaseStack -- turn off a checkbox to show that this stack is no longer in use set the hilite of button (the short name of the target) \ of card "Libraries" to false end releaseStack

# Description

Handle the releaseStack message if you want to perform some task or set a configuration when a stack is no longer in use.

The releaseStack message is sent to the stack being released with the stop using command, even if the stack was not in use before the stop using command was execute.

# Tags

# See

- **property:** stacksInUse - **message:** libraryStack - **command:** stop using, start using - **object:** stack - **glossary:** message, command, execute, message path