I have a download link (40mb+ file) when clicked and confirm where to save file, make another click on same link and got crash. 

Tried to make sample of crash, and didn't yet face such behavior: on second click app didn't made something (not showed download dialog), but also not crashed. Will provide sample as soon as got reproducible one.

Debug:
<img width="1331" alt="screen shot 2017-02-16 at 1 24 09 pm" src="https://cloud.githubusercontent.com/assets/1834053/23017440/56041e32-f44b-11e6-8d5c-f1ff6ad671cd.png">

Report:
<img width="1398" alt="screen shot 2017-02-16 at 1 25 28 pm" src="https://cloud.githubusercontent.com/assets/1834053/23017568/db45549e-f44b-11e6-8f74-650b0f2cc756.png">

Any idea what can affect such problem? 

As I see from report last triggered method was webContents.loadURL, but didn't understand why it was called since I have webContetst.session event 'will-download' called, that had to be triggered after webContents.downloadURL, not loadURL.

atom/browser/api/atom_api_web_contents.cc
args->ThrowError("Must specify either 'file' or 'files' option");
  }
}
void WebContents::CapturePage(mate::Arguments* args) {
  gfx::Rect rect;
  base::Callback<void(const gfx::Image&)> callback;
  if (!(args->Length() == 1 && args->GetNext(&callback)) &&
      !(args->Length() == 2 && args->GetNext(&rect)
                            && args->GetNext(&callback))) {
    args->ThrowError();
    return;
  }
  const auto view = web_contents()->GetRenderWidgetHostView();
  const auto host = view ? view->GetRenderWidgetHost() : nullptr;
  if (!view || !host) {
    callback.Run(gfx::Image());
    return;
  }
  
  const gfx::Size view_size = rect.IsEmpty() ? view->GetViewBounds().size() :
                                               rect.size();
  
  
  
  gfx::Size bitmap_size = view_size;
  const gfx::NativeView native_view = view->GetNativeView();
  const float scale =
      display::Screen::GetScreen()->GetDisplayNearestWindow(native_view)
      .device_scale_factor();
  if (scale > 1.0f)