summaryrefslogtreecommitdiffstats
path: root/DOCS/man/lua.rst
diff options
context:
space:
mode:
Diffstat (limited to 'DOCS/man/lua.rst')
-rw-r--r--DOCS/man/lua.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst
index 1cf6e99576..347292cd7b 100644
--- a/DOCS/man/lua.rst
+++ b/DOCS/man/lua.rst
@@ -755,3 +755,7 @@ guarantee a stable interface.
you could set per-file options with by setting the property
``file-local-options/<option name>``. The player will wait until all
hooks are run.
+
+ ``on_unload``
+ Run before closing a file, and before actually uninitializing
+ everything. It's not possible to resume playback in this state.