Compare commits

...

1 Commits

Author SHA1 Message Date
7ea695c99d Defer resolution of remote time promise to trigger bug 2024-09-20 13:28:31 -07:00
2 changed files with 1424 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -154,10 +154,12 @@ export default class RemoteClock extends DefaultClock {
const waitForInitialTick = (resolve) => {
if (this.lastTick > 0) {
const offsets = this.openmct.time.getClockOffsets();
// Don't ever resolve, this triggers the bug.
/*
resolve({
start: this.lastTick + offsets.start,
end: this.lastTick + offsets.end
});
});*/
} else {
setTimeout(() => waitForInitialTick(resolve), 100);
}