othiym23
05:44
it's not a very helpful way of doing it tho
electron-installer-snap
.deb
via packagecloud.io (just like you do)
require('timers').setTimeout(() => { throw new Error('Test'); }, 1)
require('timers').setImmediate(() => { throw new Error('Test'); })has the same delay and when it eventually makes its way through the event loop terminates the renderer whereas throwing in
window.setImmediate
terminates the renderer instantly
timers
a 3rd party module?
process.pid
in a console, then lldb -p $THAT_PROCESS
window.setImmediate(() => {throw new Error('Die!')});
in 1.8.6 terminates the renderer but in 2.0.0 it doesn't so there must have been some changes there.
process.on('uncaughtException', () => {})
in the renderer stops the process from terminating
webkit-mask
via CSS and the only way to fix it was to put those elements on a separate composition layer (e.g. via will-change:transform
)