This commit is contained in:
tamaina 2023-08-11 14:15:46 +00:00
parent bcbab80a8e
commit fe41335d1a
1 changed files with 4 additions and 3 deletions

View File

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