mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 16:06:19 +00:00
46b9e7b9ab
Work around golang.org/issue/33384 Signed-off-by: Elias Naur <mail@eliasnaur.com>
15 lines
210 B
Go
15 lines
210 B
Go
// SPDX-License-Identifier: Unlicense OR MIT
|
|
|
|
package app
|
|
|
|
import (
|
|
"os"
|
|
"os/signal"
|
|
"syscall"
|
|
)
|
|
|
|
func init() {
|
|
// Work around golang.org/issue/33384
|
|
signal.Notify(make(chan os.Signal), syscall.SIGPIPE)
|
|
}
|