Wait for (re)wakening before dispatching messages (fixes occasional blank UI on Android).
This commit is contained in:
parent
e95013c078
commit
c8a6b0088c
|
@ -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 3ba8d9a4cb4c57abb2611343cc8641882f5715c2
|
Loading…
Reference in New Issue