Answer:
There are two ways to stop a worker: by calling worker.terminate() from the main page (e.g: .html,.aspx,.php page etc) or by calling self.close() inside of the worker itself(e.g: .js page).
Source: html5rocks.com | Asked In: Many Interviews |
Alert Moderator