修复小bug
This commit is contained in:
parent
cb78764f1d
commit
f899f3503f
|
|
@ -100,6 +100,10 @@ void PlayerProxy::play(const char* strUrl) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(strongSelf->_pChn) {
|
if(strongSelf->_pChn) {
|
||||||
|
auto tracks = strongSelf->getTracks();
|
||||||
|
for (auto & track : tracks){
|
||||||
|
track->delDelegate(strongSelf->_pChn.get());
|
||||||
|
}
|
||||||
strongSelf->_pChn.reset();
|
strongSelf->_pChn.reset();
|
||||||
}
|
}
|
||||||
//播放异常中断,延时重试播放
|
//播放异常中断,延时重试播放
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue