processing / processing/p5.js-web-editor
Add a "kill switch" in case code fails to stop from the normal stop button.
Open
@clairep94 is already working on this.
Since Sep 18, 2026.
Awaiting Maintainer Approval
Feature Request
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 1.7k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 8
Description
Increasing Access
Sometimes when I'm writing code, I make a dumb mistake that ends up in my code falling into an infinite loop or inadvertently creating a fork bomb. I try to stop the runaway code using the stop button, but it continues running for minutes after I press it. The kill switch would allow you to stop the running code dead in its tracks and kill the P5 library without breaking the website.
Feature request details
The kill switch should stop all code running in the editor instantly.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.