@@ -260,13 +260,9 @@ export class WaveBrowserWindow extends BaseWindow {
260260 const numWindows = waveWindowMap . size ;
261261 const fullConfig = await RpcApi . GetFullConfigCommand ( ElectronWshClient ) ;
262262 if ( numWindows > 1 || ! fullConfig . settings [ "window:savelastwindow" ] ) {
263- console . log ( "numWindows > 1 or user does not want last window saved" , numWindows ) ;
264263 if ( fullConfig . settings [ "window:confirmclose" ] ) {
265- console . log ( "confirmclose" , this . waveWindowId ) ;
266264 const workspace = await WorkspaceService . GetWorkspace ( this . workspaceId ) ;
267- console . log ( "workspace" , workspace ) ;
268265 if ( isNonEmptyUnsavedWorkspace ( workspace ) ) {
269- console . log ( "workspace has no name, icon, and multiple tabs" , workspace ) ;
270266 const choice = dialog . showMessageBoxSync ( this , {
271267 type : "question" ,
272268 buttons : [ "Cancel" , "Close Window" ] ,
@@ -275,15 +271,12 @@ export class WaveBrowserWindow extends BaseWindow {
275271 "Window has unsaved tabs, closing window will delete existing tabs.\n\nContinue?" ,
276272 } ) ;
277273 if ( choice === 0 ) {
278- console . log ( "user cancelled close window" , this . waveWindowId ) ;
279274 return ;
280275 }
281276 }
282277 }
283- console . log ( "deleteAllowed = true" , this . waveWindowId ) ;
284278 this . deleteAllowed = true ;
285279 }
286- console . log ( "canClose = true" , this . waveWindowId ) ;
287280 this . canClose = true ;
288281 this . close ( ) ;
289282 } ) ;
0 commit comments