8000 fix:修复Client中共享变量conn的可见性问题 by xzc-coder · Pull Request #370 · aceld/zinx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix:修复Client中共享变量conn的可见性问题 #370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 4, 2025

Conversation

xzc-coder
Copy link
Contributor

No description provided.

@aceld
Copy link
Owner
aceld commented Mar 4, 2025

@xzc-coder

func (c *Client) setConn(con ziface.IConnection) {
	c.connMux.Lock()
	defer c.connMux.Unlock()
	c.conn = con
}

此方法没有被调用,c.Conn成员没有被赋值。

@aceld aceld merged commit aa15ae2 into aceld:master Mar 4, 2025
1 check passed
@aceld
Copy link
Owner
aceld commented Mar 4, 2025

Fix Issue: #367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0