From 09097588fa3f49863fd3071140e31ab4562b1a15 Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 7 Apr 2023 15:22:53 +0800 Subject: [PATCH] crash workaround --- LocoKit/Timelines/TimelineObjects/TimelineSegment.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LocoKit/Timelines/TimelineObjects/TimelineSegment.swift b/LocoKit/Timelines/TimelineObjects/TimelineSegment.swift index 6116363..560f544 100644 --- a/LocoKit/Timelines/TimelineObjects/TimelineSegment.swift +++ b/LocoKit/Timelines/TimelineObjects/TimelineSegment.swift @@ -136,6 +136,8 @@ public class TimelineSegment: TransactionObserver, Encodable, Hashable, Observab guard let classifier = store.recorder?.classifier else { return } + store.connectToDatabase() + var lastResults: ClassifierResults? for item in timelineItems {