processing / processing/p5.js-web-editor

Add a "kill switch" in case code fails to stop from the normal stop button.

Open
#3,722 2 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.