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

Commit 735b39f

Browse files
committed
[21856] Unload Plugin stack from memory
1 parent abfc389 commit 735b39f

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
@@ -104,11 +104,13 @@ on ideOpenStack pTarget
104104
if tLine ends with ".livecode" or tLine ends with ".livecodescript" or \
105105
tLine ends with ".rev" then
106106
put the substacks of stack tLine into tSubstacks
107+
// Unload Plugin from memory
108+
delete stack tLine
107109
end if
108110
if tLine is the filename of stack tTargetStack OR \
109111
tSubstacks contains tTargetStack then
110112
exit ideOpenStack
111-
end if
113+
end if
112114
end repeat
113115

114116
if tTargetStack is not the short name of me then

0 commit comments

Comments
 (0)