mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-15 04:25:58 +08:00
支持日志上下文
This commit is contained in:
@@ -125,12 +125,10 @@ void SrtSession::onError(const SockException &err) {
|
||||
|
||||
// 防止互相引用导致不释放
|
||||
auto transport = std::move(_transport);
|
||||
getPoller()->async(
|
||||
[transport] {
|
||||
//延时减引用,防止使用transport对象时,销毁对象
|
||||
//transport->onShutdown(err);
|
||||
},
|
||||
false);
|
||||
async([transport] {
|
||||
// 延时减引用,防止使用transport对象时,销毁对象
|
||||
// transport->onShutdown(err);
|
||||
},false);
|
||||
}
|
||||
|
||||
void SrtSession::onManager() {
|
||||
|
||||
Reference in New Issue
Block a user