Program doesn't fully quit when a webview's devtools are opened in a webview
See original GitHub issueNWJS Version : 0.49.0 Operating System : Windows 10
Expected behavior
When all windows in the application are closed, the application closes and the .exe can be run again, deleted etc.
Actual behavior
When all windows are closed, some processes remaining running, preventing the .exe from being run again, deleted etc.
The following processes remain:
The bottom process needs to be forced closed for the app to stop running
How to reproduce
- Go to the folder with nwjs
- Set the package.json
main
key toindex.html
- Create index.html with:
<button onclick="browser.showDevTools(true, devtools)">Open</button>
<webview id="browser" src="about:blank"></webview>
<webview id="devtools" src="about:blank"></webview>
- Click on the “Open” button
- Close the program
- Try deleting nw.exe
Note
This only occurs when the second parameter of browser.showDevTools
is set.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Here's how to fix those mysterious Android WebView crashes
Tap the three-dot menu at the top right of this screen, then select "Uninstall updates." This won't uninstall Android System WebView completely— ...
Read more >WebView not shown in chrome inspector - Stack Overflow
Open Chrome and type chrome://inspect/#devices and you should see your device in the Remote Target List.
Read more >Build web apps in WebView - Android Developers
Note: For security reasons, the system's browser app doesn't share its application data with your app. To open links clicked by the user, ......
Read more >WebView DevTools user guide
Crash UI. Crash UI shows recent WebView-caused crashes from apps on the device, similar to chrome://crashes . You can access it by tapping...
Read more >558377 - WebView should make sure it's not used multiple ...
It doesn't look like there's currently anything stopping an app developer from creating two different processes in their application (using the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is fixed in git and will be available in the next nightly build.
Will see it soon. Thanks.
On Mon, Dec 14, 2020 at 6:02 AM Cosmo Myzrail Gorynych aka CoMiGo < notifications@github.com> wrote: