You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2024. It is now read-only.
/**
* This is the same as mpv_create_client(), but the created mpv_handle is
* treated as a weak reference. If all mpv_handles referencing a core are
* weak references, the core is automatically destroyed. (This still goes
* through normal uninit of course. Effectively, if the last non-weak mpv_handle
* is destroyed, then the weak mpv_handles receive MPV_EVENT_SHUTDOWN and are
* asked to terminate as well.)
*
* Note if you want to use this like refcounting: you have to be aware that
* mpv_terminate_destroy() _and_ mpv_destroy() for the last non-weak
* mpv_handle will block until all weak mpv_handles are destroyed.
*/
The text was updated successfully, but these errors were encountered:
There's currently no support for weak clients in MPV#.
Docs for
mpv_create_weak_client
:The text was updated successfully, but these errors were encountered: