Skip to content

Commit

Permalink
fix: Protocol Stop function muxer to UnregisterProtocol (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
Newt6611 authored Oct 11, 2024
1 parent 681be3c commit 160b264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (p *Protocol) Stop() {
if p.config.Role == ProtocolRoleServer {
muxerProtocolRole = muxer.ProtocolRoleResponder
}
p.config.Muxer.RegisterProtocol(
p.config.Muxer.UnregisterProtocol(
p.config.ProtocolId,
muxerProtocolRole,
)
Expand Down

0 comments on commit 160b264

Please sign in to comment.