From bc601c6c851501e5cd2b0a776cc3ae61f4c0a36b Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 11 Aug 2023 15:00:30 +0000 Subject: [PATCH] Revert "fix" This reverts commit bcbab80a8e05a4d2c53886c2a7020a5c26be69d5. --- packages/frontend/src/scripts/entity-manager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/scripts/entity-manager.ts b/packages/frontend/src/scripts/entity-manager.ts index 905a04f97a..4c07d9a85c 100644 --- a/packages/frontend/src/scripts/entity-manager.ts +++ b/packages/frontend/src/scripts/entity-manager.ts @@ -241,10 +241,10 @@ export class NoteManager { interruptedNote.value = result; }; - const interruptorUnwatch = (() => { + const interruptorUnwatch = () => { if (this.isDebuggerEnabled) console.log('NoteManager: interruptorUnwatch', id, interruptedNote); return watch(firstNote, executeInterruptor); - })(); + }; if (this.isDebuggerEnabled) { console.log('NoteManager: get interrupted note (new)', id, { note: firstNote, interruptedNote });