| 
									
										
										
										
											2015-12-07 17:05:08 -08:00
										 |  |  | var app = require('electron').app | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | app.on('ready', function () { | 
					
						
							|  |  |  |   app.exit(123) | 
					
						
							|  |  |  | }) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | process.on('exit', function (code) { | 
					
						
							| 
									
										
										
										
											2015-12-09 18:09:59 -08:00
										 |  |  |   console.log('Exit event with code: ' + JSON.stringify(code, null, 2)) | 
					
						
							| 
									
										
										
										
											2015-12-07 17:05:08 -08:00
										 |  |  | }) |