mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Add some temporary logging to debug intermittent spec failure.
This commit is contained in:
@@ -25,8 +25,16 @@ class App
|
||||
quit: ->
|
||||
$native.terminate null
|
||||
|
||||
windowIdCounter: 1
|
||||
|
||||
windowOpened: (window) ->
|
||||
id = @windowIdCounter++
|
||||
console.log "window opened! #{id}"
|
||||
window.id = id
|
||||
@windows.push window
|
||||
|
||||
windowClosed: (window) ->
|
||||
console.log "windowClosed #{window.id}"
|
||||
console.log "windows length before #{@windows.length}"
|
||||
_.remove(@windows, window)
|
||||
console.log "windows length after #{@windows.length}"
|
||||
|
||||
Reference in New Issue
Block a user