Run clean-up code after user clicked on stop button (left of the menu hamburger), or ctrl-c

The best I can think of is to create a button or instructions at the top to click to either lure the user away from using the stop from the menu or instructing them how to properly refresh if they did click Stop.

Here is a thread about hiding that menu (by also hiding the header where the Running and Stop messages post, effectively taking the option away (though a user could circumvent it). Here’s the quick answer, but there are other solutions in the thread: How do i hide/ remove the menu in production? - #22 by snehankekre

You may be interested in GitHub Feature requests to customize that menu or hide it simply by command:

1 Like