mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
app: disable darwin SIGPIPE workaround from Go 1.14
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
// SPDX-License-Identifier: Unlicense OR MIT
|
||||
|
||||
// +build !go1.14
|
||||
|
||||
// Work around golang.org/issue/33384, fixed in CL 191785,
|
||||
// to be released in Go 1.14.
|
||||
|
||||
package app
|
||||
|
||||
import (
|
||||
@@ -9,6 +14,5 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
// Work around golang.org/issue/33384
|
||||
signal.Notify(make(chan os.Signal), syscall.SIGPIPE)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user