Wait for (re)wakening before dispatching messages (fixes occasional blank UI on Android).
This commit is contained in:
parent
e95013c078
commit
6295317d63
|
@ -345,7 +345,7 @@
|
||||||
if (this.running) return;
|
if (this.running) return;
|
||||||
this.running = true;
|
this.running = true;
|
||||||
browser.runtime.onSyncMessage.addListener(onSyncMessage);
|
browser.runtime.onSyncMessage.addListener(onSyncMessage);
|
||||||
deferWebTraffic(this.initializing = init(),
|
deferWebTraffic(Messages.wakening = this.initializing = init(),
|
||||||
async () => {
|
async () => {
|
||||||
Commands.install();
|
Commands.install();
|
||||||
try {
|
try {
|
||||||
|
|
2
src/nscl
2
src/nscl
|
@ -1 +1 @@
|
||||||
Subproject commit 6190ad1d4288385aa1062af35fd62807c2f6ab2d
|
Subproject commit 1850af6c627f3b96e3ffc36b195c5568a06419ae
|
Loading…
Reference in New Issue