Description
Expected Behavior
If you build this stack:
And click the green flag it should not crash Scratch.
Actual Behavior
Scratch freezes and nothing you click is responsive. After a minute or so it pops up with a "page not responsive" dialog:
It may require attempting to interact with Scratch to get the dialog.
Steps to Reproduce
Build this stack:
when I start as a clone
create a clone of myself
delete this clone
Run a 'create a clone of myself' block
Note: Scratch becomes unresponsive and after a minute a dialog appears.
Interestingly, if you put the create a clone of myself
block in a forever loop and then have the stack when I start as a clone
delete this clone
the application does not crash. The create and delete blocks must be in the same stack.
Similarly if you build two stacks one that is When I start as a clone
create a clone of myself
and a second stack that is When I start as a clone
delete this clone
it doesn't crash either. Further evidence that the two must be in the same stack.
Here is my repro project: https://scratch.mit.edu/projects/330894575/editor
It is a simplified version of one that came in from the community: https://scratch.mit.edu/projects/314578144
Operating System and Browser
Mac Chrome