Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
5769a8d2
Unverified
Commit
5769a8d2
authored
Dec 12, 2023
by
Adrian Sutton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-node: Fix race condition closing gossip handler.
parent
a298160f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
gossip.go
op-node/p2p/gossip.go
+0
-1
No files found.
op-node/p2p/gossip.go
View file @
5769a8d2
...
@@ -601,7 +601,6 @@ func MakeSubscriber(log log.Logger, msgHandler MessageHandler) TopicSubscriber {
...
@@ -601,7 +601,6 @@ func MakeSubscriber(log log.Logger, msgHandler MessageHandler) TopicSubscriber {
}
}
func
LogTopicEvents
(
ctx
context
.
Context
,
log
log
.
Logger
,
evHandler
*
pubsub
.
TopicEventHandler
)
{
func
LogTopicEvents
(
ctx
context
.
Context
,
log
log
.
Logger
,
evHandler
*
pubsub
.
TopicEventHandler
)
{
defer
evHandler
.
Cancel
()
for
{
for
{
ev
,
err
:=
evHandler
.
NextPeerEvent
(
ctx
)
ev
,
err
:=
evHandler
.
NextPeerEvent
(
ctx
)
if
err
!=
nil
{
if
err
!=
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