mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Caption support (#2462)
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
12
vendor/github.com/asticode/go-astikit/os_js.go
generated
vendored
Normal file
12
vendor/github.com/asticode/go-astikit/os_js.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
// +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
|
||||
}
|
||||
Reference in New Issue
Block a user