Skip to content

Commit e6c5449

Browse files
authored
Remove extra defer.StopProfile()
Remove extra defer.StopProfile()
1 parent 6b2f1a3 commit e6c5449

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/cql-minerd/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ func main() {
158158

159159
// init profile, if cpuProfile, memProfile length is 0, nothing will be done
160160
utils.StartProfile(cpuProfile, memProfile)
161-
defer utils.StopProfile()
162161

163162
// set generate key pair config
164163
conf.GConf.GenerateKeyPair = genKeyPair

0 commit comments

Comments
 (0)