Replies: 2 comments 3 replies
-
netcore8.0 ,在多线程中去执行语句,也报这个错 |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
【主库】对象池已释放,无法访问。
【主库】The ObjectPool has been disposed
原因一:手工调用了 fsql.Dispose,之后仍然使用它
原因二:使用了 IdleBus 管理 IFreeSql,错误的方式如下:
原因三:检查项目的系统事件,是否在异常之前触发
如果确定问题,可以在 FreeSqlBuilder 构建对象的时候 UseExitAutoDisposePool(false) 关闭这个机制
Beta Was this translation helpful? Give feedback.
All reactions