Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
张蕾
Geth-Modification
Commits
4a3fb585
Unverified
Commit
4a3fb585
authored
Jan 18, 2023
by
ucwong
Committed by
GitHub
Jan 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
les/fetcher : fix requestTimer leak (#26514)
les/fetcher : fix requestTimer leak
parent
97401b6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
fetcher.go
les/fetcher.go
+1
-0
No files found.
les/fetcher.go
View file @
4a3fb585
...
...
@@ -272,6 +272,7 @@ func (f *lightFetcher) mainloop() {
localHead
=
f
.
chain
.
CurrentHeader
()
localTd
=
f
.
chain
.
GetTd
(
localHead
.
Hash
(),
localHead
.
Number
.
Uint64
())
)
defer
requestTimer
.
Stop
()
sub
:=
f
.
chain
.
SubscribeChainHeadEvent
(
headCh
)
defer
sub
.
Unsubscribe
()
...
...
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