123456789101112131415161718 |
- // +build windows
- package proc
- import "time"
- // AddShutdownListener returns fn itself on windows, lets callers call fn on their own.
- func AddShutdownListener(fn func()) func() {
- return fn
- }
- // AddWrapUpListener returns fn itself on windows, lets callers call fn on their own.
- func AddWrapUpListener(fn func()) func() {
- return fn
- }
- func SetTimeoutToForceQuit(duration time.Duration) {
- }
|