-
-
Notifications
You must be signed in to change notification settings - Fork 14
Feature/finalizers #40
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
Conversation
make AutoCloseThread daemon; use blocking api to remove object from referenceQueue
cbe53da to
4284066
Compare
b6cacb0 to
43a3f34
Compare
| private static long tryOpen(ContextConfig config) throws IllegalArgumentException, Exception { | ||
| if (config == null) throw new IllegalArgumentException(); | ||
| return open(config); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: since we anyway have validation in native open(), then we can move this check there and get rid of tryOpen at all, to keep all validation in one place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's fix it in #4, I'll update issue after merge
gavv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This comment was marked as resolved.
This comment was marked as resolved.
bd4dbf0 to
cd818a0
Compare
|
LGTM! |
based on #32 . Fixed #5