From 07f25566ca51b7faf6462a57d15f4ebbfc733ab0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 6 Apr 2020 21:05:51 +0530 Subject: start spring cleaning, use rollup instead of both webpack and rollup --- src/operations/state.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/operations') 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); } } -- cgit v1.2.3