<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

### Issue Details
I'm currently using BrowerView to act as a makeshift tab (so that I may have multiple "tabs" of my application open). When I create 20+ processes and shut them down (shutting them down calls view.destroy()) very quickly and _then_ right afterwards try to resize the window, the app crashes with Error 3221226525.

When I disable the call to view.destroy(), I no longer get this issue. This works, since Javascript garbage collection will collect the processes after a minute or two, but this solution seems a bit suboptimal and unreliable in the case where we may have weak references left over.

I tried to work around this by disabling resizing for those BrowserViews (via view.setAutoResize()) and _then_ calling view.destroy(), but this does not fix the issue.

* **Electron Version:**
  * <!-- (output of `node_modules/.bin/electron --version`) e.g. 4.0.3 --> 7.1.2
* **Operating System:**
  * <!-- (Platform and Version) e.g. macOS 10.13.6 / Windows 10 (1803) / Ubuntu 18.04 x64 -->Windows 10
* **Last Known Working Electron version:**
  * <!-- (if applicable) e.g. 3.1.0 -->N/A

### Expected Behavior
<!-- A clear and concise description of what you expected to happen. -->
Close many BrowserViews quickly and then Resize right afterwards --> Window should resize without crashing.

### Actual Behavior
<!-- A clear and concise description of what actually happened. -->
Close many BrowserViews quickly and then Resize right afterwards --> App crashes (if I don't resize, no crash).

### To Reproduce
<!--
Your best chance of getting this bug looked at quickly is to provide an example.
-->
As mentioned above, we need to create 20+ processes and shut them down (shutting them down calls view.destroy()) very quickly and _then_ right afterwards try to resize the window. The app should crash with Error 3221226525.

<!--
For bugs that can be encapsulated in a small experiment, you can use Electron Fiddle (https://github.com/electron/fiddle) to publish your example to a GitHub Gist and link it your bug report.
-->

<!--
If Fiddle is insufficient to produce an example, please provide an example REPOSITORY that can be cloned and run. You can fork electron-quick-start (https://github.com/electron/electron-quick-start) and include a link to the branch with your changes.
-->

<!--
If you provide a URL, please list the commands required to clone/setup/run your repo e.g.
```sh
$ git clone $YOUR_URL -b $BRANCH
$ npm install
$ npm start || electron .
```
-->

### Screenshots
<!-- If applicable, add screenshots to help explain your problem. -->
![IceT Nova BrowserView Crash Error](https://user-images.githubusercontent.com/20053828/70284635-7fc01d80-1779-11ea-9147-d3480d7b5bfd.PNG)

### Additional Information
<!-- Add any other context about the problem here. -->
This problem exists in both Electron v5.0.0 and v7.1.2.

Question: Let's say I take the "don't destroy, let processes get garbage collected" route. Is it possible that the app will also crash during garbage collection if the user happens to resize just as a process is being destroyed?

Thank you for your time, and I look forward to hearing from you!
shell/browser/native_browser_view_views.cc
#include "shell/browser/native_browser_view_views.h"
#include "shell/browser/ui/inspectable_web_contents_view.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/views/background.h"
#include "ui/views/view.h"
namespace electron {
NativeBrowserViewViews::NativeBrowserViewViews(
    InspectableWebContents* inspectable_web_contents)
    : NativeBrowserView(inspectable_web_contents) {}
NativeBrowserViewViews::~NativeBrowserViewViews() = default;