seems to be same problem as here: https://github.com/electron/electron/issues/4906

It happens on windows 10 with electron version 1.6.1.
When I downgrade to 1.4.15 it works.
chromium_src/chrome/browser/printing/print_view_manager_base.cc
if (!RunInnerMessageLoop()) {
    
    
    return false;
  }
  return true;
}
void PrintViewManagerBase::ShouldQuitFromInnerMessageLoop() {
  
  DCHECK(print_job_->document());
  if (print_job_->document() &&
      print_job_->document()->IsComplete() &&
      inside_inner_message_loop_) {
    
    
    base::MessageLoop::current()->QuitWhenIdle();
    inside_inner_message_loop_ = false;
  }
}
bool PrintViewManagerBase::CreateNewPrintJob(PrintJobWorkerOwner* job) {