<h3 dir="auto">Preflight Checklist</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<ul dir="auto">
<li><strong>Electron Version:</strong>
<ul dir="auto">
<li>7.1.3</li>
</ul>
</li>
<li><strong>Operating System:</strong>
<ul dir="auto">
<li>Windows 10</li>
</ul>
</li>
<li><strong>Last Known Working Electron version:</strong>
<ul dir="auto">
<li>Unkown</li>
</ul>
</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">To prevent the creation of the new window without crashing and unresponsive.</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">The subprocess gets unresponsive and crashes.</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto"><a href="https://gist.github.com/4d36be07d7b1cfc6244477cb989b86d3">https://gist.github.com/4d36be07d7b1cfc6244477cb989b86d3</a></p>
<h3 dir="auto">Screenshots</h3>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5815794/70123868-350cab80-167c-11ea-842b-47a41b3a005b.png"><img src="https://user-images.githubusercontent.com/5815794/70123868-350cab80-167c-11ea-842b-47a41b3a005b.png" alt="image" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5815794/70123915-4950a880-167c-11ea-8455-41853ea76dac.png"><img src="https://user-images.githubusercontent.com/5815794/70123915-4950a880-167c-11ea-8455-41853ea76dac.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Preflight Checklist</h3>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li>
</ul>
<h3 dir="auto">Issue Details</h3>
<p dir="auto">I have enabled nativeWindowOpen and nodeIntegrationInSubFrames for main window, and I have a preload script which required a remote from electron. Which this configuration I open a child window and then I close it. The main window render process hangs for ever so I have to restart whole app. Here is and example app <a href="https://github.com/zarubond/electron-quick-start/tree/child_hang">https://github.com/zarubond/electron-quick-start/tree/child_hang</a></p>
<ul dir="auto">
<li><strong>Electron Version:</strong><br>
6.0.7, 7.0.0-beta3</li>
<li><strong>Operating System:</strong><br>
Windows, Linux, MacOS</li>
<li><strong>Last Known Working Electron version:</strong><br>
5.0.10</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">Closing child window should not hang main window for ever</p>
<h3 dir="auto">Actual Behavior</h3>
<p dir="auto">Main window hangs after closing child window.</p>
<h3 dir="auto">To Reproduce</h3>
<p dir="auto">Open child window and then close it</p>



<h3 dir="auto">Screenshots</h3>

<h3 dir="auto">Additional Information</h3>