mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复不能立即关闭拉流代理的问题:#559
This commit is contained in:
parent
3d8f015f5d
commit
ebbe124d00
@ -169,10 +169,10 @@ bool PlayerProxy::close(MediaSource &sender,bool force) {
|
||||
strongSelf->_muxer.reset();
|
||||
strongSelf->setMediaSource(nullptr);
|
||||
strongSelf->teardown();
|
||||
if (strongSelf->_on_close) {
|
||||
strongSelf->_on_close();
|
||||
}
|
||||
});
|
||||
if (_on_close) {
|
||||
_on_close();
|
||||
}
|
||||
WarnL << sender.getSchema() << "/" << sender.getVhost() << "/" << sender.getApp() << "/" << sender.getId() << " " << force;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user