mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Catch any close window errors
This commit is contained in:
@@ -133,6 +133,8 @@ describe('chromium feature', function () {
|
||||
closeWindow(w).then(function () {
|
||||
w = null
|
||||
done()
|
||||
}).catch(function (error) {
|
||||
done(error)
|
||||
})
|
||||
} else {
|
||||
ses.clearStorageData(options, function () {
|
||||
|
||||
Reference in New Issue
Block a user