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 );