You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Atom-shell guarantees that closing window would trigger beforeunload and unload event in javascript, so an infinite loop would block the close event. Simply make the x on window work would break this guarantee.
I'll add a way to make browser aware of the infinite loop in renderer, so users can choose to (1) force closing the window; (2) continue waiting; (3) interrupt the loop and report the stack trace.
@zcbenz Strange. It's happening for me in certain specs, I think in situations where the spec pretty printer is trying to print way more than it can handle. If you put an endless loop in specs and run them, is it possible to reproduce?
Activity
zcbenz commentedon Jun 5, 2013
Atom-shell guarantees that closing window would trigger
beforeunloadandunloadevent in javascript, so an infinite loop would block the close event. Simply make the x on window work would break this guarantee.I'll add a way to make browser aware of the infinite loop in renderer, so users can choose to (1) force closing the window; (2) continue waiting; (3) interrupt the loop and report the stack trace.
kevinsawicki commentedon Jun 5, 2013
Yeah, a force close prompt would be great.
nathansobo commentedon Mar 21, 2014
This appears to have regressed.
nathansobo commentedon Sep 4, 2014
This appears to have regressed again.
zcbenz commentedon Sep 6, 2014
@nathansobo I can not reproduce with following steps:
while(true);Editor is not respondingdialog showsnathansobo commentedon Sep 6, 2014
@zcbenz Strange. It's happening for me in certain specs, I think in situations where the spec pretty printer is trying to print way more than it can handle. If you put an endless loop in specs and run them, is it possible to reproduce?
zcbenz commentedon Sep 8, 2014
Seems that the unresponsive dialog is suppressed in specs:
https://github.com/atom/atom/blob/master/src/browser/atom-window.coffee#L96
nathansobo commentedon Sep 8, 2014
Wow, sorry about that.
Merge pull request #17 from brightray/windows-brightray_example
Update libchromiumcontent to be based on Chrome 28
Merge pull request #17 from brightray/windows-brightray_example
Update libchromiumcontent to be based on Chrome 28
Merge pull request #17 from sethlu/remove-getwrapper-dcheck