mirror of
https://github.com/lkmio/lkm.git
synced 2025-10-04 23:02:43 +08:00
通过管道收发推拉流事件
This commit is contained in:
@@ -53,4 +53,5 @@ func (s *serverImpl) OnPacket(conn net.Conn, data []byte) {
|
||||
func (s *serverImpl) OnDisConnected(conn net.Conn, err error) {
|
||||
t := conn.(*transport.Conn)
|
||||
t.Data.(*sessionImpl).Close()
|
||||
t.Data = nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user