Skip to content

解决connection模块写时,出现往空的channel写的panic错误#286

Merged
aceld merged 1 commit into
aceld:masterfrom
xiongyuhmba:master
Nov 24, 2023
Merged

解决connection模块写时,出现往空的channel写的panic错误#286
aceld merged 1 commit into
aceld:masterfrom
xiongyuhmba:master

1.为了不使用锁,此处去掉主动关闭close(c.msgBuffChan) 让系统自动GC 该channel。可避免写数据时出现:往关闭的…

459e417
Select commit
Loading
Failed to load commit list.

Workflow runs completed with no jobs