mirror of
https://github.com/stashapp/stash.git
synced 2025-12-09 09:53:40 +01:00
12 lines
205 B
Go
12 lines
205 B
Go
// +build js,wasm
|
|
|
|
package astikit
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
func isTermSignal(s os.Signal) bool {
|
|
return s == syscall.SIGKILL || s == syscall.SIGINT || s == syscall.SIGQUIT || s == syscall.SIGTERM
|
|
}
|