Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 4479306

Browse files
committed
Delete stack from memory only if not already opened
1 parent 3de914e commit 4479306

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Toolset/palettes/start center/revStartCenterBehavior.livecodescript

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ on ideOpenStack pTarget
105105
tLine ends with ".rev" then
106106
put the substacks of stack tLine into tSubstacks
107107
// Unload Plugin from memory
108-
delete stack tLine
108+
if not (the short name of stack tLine is in the openstacks) then
109+
delete stack tLine
110+
end if
109111
end if
110112
if tLine is the filename of stack tTargetStack OR \
111113
tSubstacks contains tTargetStack then

0 commit comments

Comments
 (0)