Merge pull request #8585 from Snuffleupagus/issue-8584
Check that the `MessageHandler` isn't already terminated in the `onFailure` handler in `src/core/worker.js` (issue 8584)
This commit is contained in:
commit
9e4dcf156b
@ -654,6 +654,8 @@ var WorkerMessageHandler = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onFailure(e) {
|
function onFailure(e) {
|
||||||
|
ensureNotTerminated();
|
||||||
|
|
||||||
if (e instanceof PasswordException) {
|
if (e instanceof PasswordException) {
|
||||||
var task = new WorkerTask('PasswordException: response ' + e.code);
|
var task = new WorkerTask('PasswordException: response ' + e.code);
|
||||||
startWorkerTask(task);
|
startWorkerTask(task);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user