From e1b260e3e04341703944a9c1167c2546ff514fb9 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 10 Aug 2020 16:10:05 +0800 Subject: Make data line not destroyable when syncing. --- Timeline/ClientApp/src/app/data/DataHub.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'Timeline/ClientApp/src') diff --git a/Timeline/ClientApp/src/app/data/DataHub.ts b/Timeline/ClientApp/src/app/data/DataHub.ts index fd6b65d7..bfb96d1a 100644 --- a/Timeline/ClientApp/src/app/data/DataHub.ts +++ b/Timeline/ClientApp/src/app/data/DataHub.ts @@ -88,6 +88,7 @@ export class DataLine { return ( this._observers.length === 0 && + !this._syncingSubject.value && (customDestroyable != null ? customDestroyable(this._current) : true) ); } -- cgit v1.2.3