-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
player/client: clear hooks when a client is destroyed
Clear any registered hook when a client is destroyed like it is already done for OSD overlays and input sections. This is necessary both if a client exists intentionally or by error. e.g. the script: mp.add_hook("on_load", 0) error() logs the warning "Sending hook command failed. Removing hook." before this commit.
- Loading branch information
1 parent
d09145a
commit 446825f
Showing
3 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters