diff --git a/LICENSE b/LICENSE index e99ff0d..569e6ec 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 Alex Ballas +Copyright (c) 2021 Alexandros Ballas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/go2tv.go b/go2tv.go index a878c98..c34305b 100644 --- a/go2tv.go +++ b/go2tv.go @@ -122,7 +122,7 @@ func devicePicker(i int) (string, error) { } func initializeCloseHandler(tvdata soapcalls.TVPayload) { - c := make(chan os.Signal) + c := make(chan os.Signal, 1) signal.Notify(c, os.Interrupt, syscall.SIGTERM) go func() { <-c