KawaiiBASIC / classilla

Automatically exported from code.google.com/p/classilla
0 stars 0 forks source link

Make Cmd-. all-stop (including any executing script) #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Suggested by a reporter to R-A-B and enthusiastically endorsed by the Mac
OS 9 list. The trick is 1) doing this without leaking scripts and 2) not
doing this when running Chrome code, which we allegedly trust. We really do
want this for 9.2 because some code is bound to go bananas, and some code
is just too slow for many old Macs.

Original issue reported on code.google.com by classi...@floodgap.com on 23 May 2010 at 9:03

GoogleCodeExporter commented 9 years ago
Added into nsJSEnvironment with a chrome check so that chrome code will not be
interrupted. Because the keymap and chrome checks are expensive and really hit 
our
benchmark hard, I decreased the frequency of garbage collection and moved the 
keymap
check after GC had run so that we are as clean as possible. I also made the loop
error message a little friendlier.

Original comment by classi...@floodgap.com on 24 May 2010 at 12:58