|
|
@ -5,11 +5,11 @@ package proc
|
|
|
|
import "time"
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
|
|
|
|
func AddShutdownListener(fn func()) func() {
|
|
|
|
func AddShutdownListener(fn func()) func() {
|
|
|
|
return nil
|
|
|
|
return fn
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func AddWrapUpListener(fn func()) func() {
|
|
|
|
func AddWrapUpListener(fn func()) func() {
|
|
|
|
return nil
|
|
|
|
return fn
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func SetTimeoutToForceQuit(duration time.Duration) {
|
|
|
|
func SetTimeoutToForceQuit(duration time.Duration) {
|
|
|
|