Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladimir Barsukov
zGo
Commits
2d4522f5
Commit
2d4522f5
authored
Dec 17, 2025
by
Vladimir Barsukov
Browse files
fix
parent
878b2f8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
zquit/pool.go
View file @
2d4522f5
...
...
@@ -70,6 +70,14 @@ func (p *Pool) WaitInterruptPrePost(pre func(), post func()) {
}
}
func
(
p
*
Pool
)
WaitInterrupt
()
{
func
(
p
*
Pool
)
WaitInterrupt
Nil
()
{
p
.
WaitInterruptPrePost
(
nil
,
nil
)
}
func
(
p
*
Pool
)
WaitInterrupt
()
{
p
.
WaitInterruptPrePost
(
func
()
{
p
.
PrintStat
(
1
)
},
func
()
{
log
.
Printf
(
"By by"
)
})
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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