Closed ddavidebor closed 6 years ago
The interface does not reset correctly if subprocess crashes, the loader mouse pointer spins indefinetly and the UI is greyed out
usb.on('message',(data)=>{ switch(data.action){ case 'error': mainWindow.webContents.send('usb-error', {}); break; //other cases [..] } }); usb.on('exit',(code,n)=>{ mainWindow.webContents.send('usb-error', {}); console.log('usb exited with exit code', code); }); usb.on('disconnect',(code,n)=>{ mainWindow.webContents.send('usb-error', {}); console.log('usb disconnected with exit code', code); });
Those are the three codes that generate an error. Please note they could be launched in rapid succession.
tested against bortoworks
Maybe i'm stupid and i broke this just on bortoworks ?
nah i think it's broken in develop also
The interface does not reset correctly if subprocess crashes, the loader mouse pointer spins indefinetly and the UI is greyed out
Those are the three codes that generate an error. Please note they could be launched in rapid succession.
tested against bortoworks