From 6d9c7182c4d83d4b2a4920a58f334f5fb3b7b5cb Mon Sep 17 00:00:00 2001 From: lilia Date: Thu, 26 Mar 2015 15:18:57 -0700 Subject: [PATCH] Let the key worker close itself when done --- js/generate_keys.js | 1 + 1 file changed, 1 insertion(+) 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(); }); }