mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +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