Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auto_profiles.lua: don't log warnings on exit
If a script registers hooks before exiting mpv logs "Sending hook command failed. Removing hook.". (Also there is no function to unregister hooks.) Don't register hooks in auto_profiles.lua before it exits to not log these warnings. Fixes 5dc4047. Fixes #15244.
- Loading branch information