aboutsummaryrefslogtreecommitdiff
path: root/src/operations
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-06 21:05:51 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-06 21:05:51 +0530
commit07f25566ca51b7faf6462a57d15f4ebbfc733ab0 (patch)
tree04e03d831adae4c00ac6a6a19706de4ed6ad7dd3 /src/operations
parent13bccc7bd982da58738dfd63a2493e476d596161 (diff)
start spring cleaning, use rollup instead of both webpack and rollup
Diffstat (limited to 'src/operations')
-rw-r--r--src/operations/state.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operations/state.ts b/src/operations/state.ts
index f571fe93a..246a71266 100644
--- a/src/operations/state.ts
+++ b/src/operations/state.ts
@@ -53,9 +53,9 @@ export class InternalWalletState {
logger.trace("Notification", n);
for (const l of this.listeners) {
const nc = JSON.parse(JSON.stringify(n));
- setImmediate(() => {
+ setTimeout(() => {
l(nc);
- });
+ }, 0);
}
}