function initializeSpy()

in src/legacy/createUndo.ts [7:12]


function initializeSpy() {
    if (spyRefCount === 0) {
        spyDisposer = spy(spyOnChanges);
    }
    spyRefCount++;
}