Let the key worker close itself when done

This commit is contained in:
lilia 2015-03-26 15:18:57 -07:00
parent d3dbf2328f
commit 6d9c7182c4

View file

@ -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();
}); });
} }