We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用时,容易造成 Context disposed error ,必须每一行调用,都要判断一次,比较麻烦,并且抛的是Error,调用层无法去捕获进行处理,看代码里有如下,希望可以改为抛Exception ,方便使用者进行捕获操作 void checkReleased() { this.checkReleaseObjPtrPool(); if (this.isReleased()) { throw new Error("Context disposed error"); } }
void checkReleased() { this.checkReleaseObjPtrPool(); if (this.isReleased()) { throw new Error("Context disposed error"); } }
The text was updated successfully, but these errors were encountered:
有好几处都是抛的Error,希望能全部改为Exception,不然出现这种问题,只能让应用崩溃,而束手无策
Sorry, something went wrong.
No branches or pull requests
使用时,容易造成 Context disposed error ,必须每一行调用,都要判断一次,比较麻烦,并且抛的是Error,调用层无法去捕获进行处理,看代码里有如下,希望可以改为抛Exception ,方便使用者进行捕获操作
void checkReleased() { this.checkReleaseObjPtrPool(); if (this.isReleased()) { throw new Error("Context disposed error"); } }
The text was updated successfully, but these errors were encountered: