Add a worker
Offload all the asm.js code to a second thread. This is usually the source of intermittent frontend freezes when running single-threaded.
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
|
||||
window.Whisper = window.Whisper || {};
|
||||
|
||||
textsecure.protocol_wrapper.startWorker();
|
||||
|
||||
var windowMap = new Whisper.Bimap('windowId', 'modelId');
|
||||
var conversations = new Whisper.ConversationCollection();
|
||||
|
||||
|
Reference in New Issue
Block a user