![]() |
When a web worker object is created, it will continue to listen for messages (even after the external script is finished) until it is terminated. |
To terminate a web worker, and free browser/computer resources, use the terminate() method:
w.terminate();
Category
: |
Web Tutorial |
Sub Category
: |
HTML Web Workers API |
Uploaded by
: |
Admin |
Read Article https://horje.com/learn/1434/reference