Store a strong reference to a playlist pointer so it will not be destroyed before the postCommitHook finishes