gioui.org/ui@v0.0.0-20190926171558-ce74bc0cbaea/app/sigpipe_darwin.go (about) 1 // SPDX-License-Identifier: Unlicense OR MIT 2 3 package app 4 5 import ( 6 "os" 7 "os/signal" 8 "syscall" 9 ) 10 11 func init() { 12 // Work around golang.org/issue/33384 13 signal.Notify(make(chan os.Signal), syscall.SIGPIPE) 14 }