-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
默认的Policy能否提供一个OnDestroy的回调函数 #1
Comments
谢谢反馈! 目前我这边不直接使用 SafeObjectPool,因为每种资源对象的管理释放逻辑不一样。 |
比如可以参考实现 IntPtrPool 、IntPtrPoolPolicy 类 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我现在用这个时,把IntPtr指针对象放在对象池了,因为在程序关闭时我需要释放这些指针对象指向的空间,看源码在Dispose时调用了OnDestory方法了,能否提供默认的回调,我在回调里面处理
The text was updated successfully, but these errors were encountered: