nwjs / nw.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
https://nwjs.io
MIT License
40.39k stars 3.88k forks source link

Server Worker stops responding #7323

Open ghost opened 4 years ago

ghost commented 4 years ago

NWJS Version : v0.43.6 Operating System : Windows 10

Expected behavior

Service Worker completes request in a reasonable amount of time.

Actual behavior

Service Worker stops responding and fails after 5.4 minutes.

How to reproduce

The packaged used was JSZip. It was imported inside the serviceworker.

image

Returning a response is not necessary since the code never executes the console.log.

This issue does not happen on v0.30.5.

ghost commented 4 years ago

I had --enable-node-worker flag. Removing the flag fixed the issue. Adding it back reintroduced the problem.