Shutdown IO threads before destroying Disk_Stream.
This commit is contained in:
parent
d2afffbb7c
commit
c210a65a00
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue