AbstractPlayerContext: 添加 finalize() 方法。

Signed-off-by: mk124 <mk124a@gmail.com>