parent
c5f2ced66c
commit
153455aee0
|
|
@ -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 });
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue