diff --git a/js/generate_keys.js b/js/generate_keys.js index cb3103ce..3928a847 100644 --- a/js/generate_keys.js +++ b/js/generate_keys.js @@ -72,5 +72,6 @@ onmessage = function(e) { store = e.data; textsecure.protocol_wrapper.generateKeys().then(function(keys) { postMessage({method: 'done', keys: keys}); + close(); }); }