void InterruptFoldWorker () { if (foldSegmentSrc == null) return; foldSegmentSrc.Cancel (); WaitForFoldUpdateFinished (); foldSegmentSrc = null; }