Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-ws-transport
Commits
52047fca
Commit
52047fca
authored
Sep 17, 2019
by
Alex Browne
Committed by
Steven Allen
Sep 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch order of Call("close") and signalClose()
parent
6e856e1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
conn_browser.go
conn_browser.go
+1
-1
No files found.
conn_browser.go
View file @
52047fca
...
...
@@ -133,8 +133,8 @@ func (c *Conn) Write(b []byte) (n int, err error) {
// This method is thread-safe.
func
(
c
*
Conn
)
Close
()
error
{
c
.
closeOnce
.
Do
(
func
()
{
c
.
signalClose
()
c
.
Call
(
"close"
)
c
.
signalClose
()
c
.
releaseHandlers
()
})
return
nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment