From c210a65a001d3ec73b3ef35fd23098a1578a3811 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 25 May 2008 17:27:24 -0500 Subject: [PATCH] Shutdown IO threads before destroying Disk_Stream. --- Timeline/Engine/Disk_Stream.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Timeline/Engine/Disk_Stream.C b/Timeline/Engine/Disk_Stream.C index f6afc02..dd6a2eb 100644 --- a/Timeline/Engine/Disk_Stream.C +++ b/Timeline/Engine/Disk_Stream.C @@ -74,6 +74,8 @@ Disk_Stream::~Disk_Stream ( ) /* it isn't safe to do all this with the RT thread running */ engine->lock(); + shutdown(); + _track = NULL; sem_destroy( &_blocks );