- Electron version: 1.1.3 & 1.2.0
- Operating system: Windows 10 Build 10580

The icon of a window is reset after minimizing it for a short period of time (about 2 minutes), hiding it and showing it again.
An app to reproduce this bug: https://github.com/taroxd/electron-quick-start

atom/browser/native_window_views.cc
state_atom_list.push_back(GetAtom("_NET_WM_STATE_SKIP_TASKBAR"));
  }
  
  if (fullscreen) {
    state_atom_list.push_back(GetAtom("_NET_WM_STATE_FULLSCREEN"));
  }
  ui::SetAtomArrayProperty(GetAcceleratedWidget(), "_NET_WM_STATE", "ATOM",
                           state_atom_list);
  
  std::string window_type;
  if (options.Get(options::kType, &window_type))
    SetWindowType(GetAcceleratedWidget(), window_type);
#endif
  
  SetLayoutManager(new MenuLayout(this, kMenuBarHeight));
  AddChildView(web_view_);
#if defined(OS_WIN)
  
  if (fullscreen)
    last_window_state_ = ui::SHOW_STATE_FULLSCREEN;
  else
    last_window_state_ = ui::SHOW_STATE_NORMAL;
  last_normal_size_ = gfx::Size(widget_size_);
  if (!has_frame()) {
    
    
    DWORD frame_style = WS_CAPTION;
    if (resizable_)
      frame_style |= WS_THICKFRAME;
    if (minimizable_)