Let the key worker close itself when done
This commit is contained in:
parent
d3dbf2328f
commit
6d9c7182c4
1 changed files with 1 additions and 0 deletions
|
@ -72,5 +72,6 @@ onmessage = function(e) {
|
||||||
store = e.data;
|
store = e.data;
|
||||||
textsecure.protocol_wrapper.generateKeys().then(function(keys) {
|
textsecure.protocol_wrapper.generateKeys().then(function(keys) {
|
||||||
postMessage({method: 'done', keys: keys});
|
postMessage({method: 'done', keys: keys});
|
||||||
|
close();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue