Revert "fix"

This reverts commit fe41335d1a.
This commit is contained in:
tamaina 2023-08-11 15:00:24 +00:00
parent c5f2ced66c
commit 153455aee0
1 changed files with 3 additions and 4 deletions

View File

@ -241,11 +241,10 @@ export class NoteManager {
interruptedNote.value = result; interruptedNote.value = result;
}; };
const unwatch = watch(firstNote, executeInterruptor); const interruptorUnwatch = (() => {
const interruptorUnwatch = () => {
if (this.isDebuggerEnabled) console.log('NoteManager: interruptorUnwatch', id, interruptedNote); if (this.isDebuggerEnabled) console.log('NoteManager: interruptorUnwatch', id, interruptedNote);
unwatch; return watch(firstNote, executeInterruptor);
}; })();
if (this.isDebuggerEnabled) { if (this.isDebuggerEnabled) {
console.log('NoteManager: get interrupted note (new)', id, { note: firstNote, interruptedNote }); console.log('NoteManager: get interrupted note (new)', id, { note: firstNote, interruptedNote });