Commit 044bfb96 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: adaptative: fix access after free/delete ordering

delete connection manager last,
streams will want to close unfinished downloads
parent 4a894c76
......@@ -60,10 +60,10 @@ PlaylistManager::PlaylistManager( demux_t *p_demux_,
PlaylistManager::~PlaylistManager ()
{
delete conManager;
delete streamFactory;
unsetPeriod();
delete playlist;
delete conManager;
}
void PlaylistManager::unsetPeriod()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment