-
Notifications
You must be signed in to change notification settings - Fork 422
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
[Native]How about change TransactionListener's method param type from struct to pointer #340
Comments
Thank you @Me1onRind , your are right, a pointer is better. could you create a Pull Request for the issue before next Monday(we wiil release rc version in next week) if possible |
Sorry I am busy these day, and see the message now (>_<), So I can't finished it before Monday now. It not in next rc version may not bad thing, may just change it to pointer may bring some unpredictable hidden bug? |
@Me1onRind There are no some unpredictable bugs appear in my head, I think the pointer will work well. How do you think of it? @xujianhai666 |
emmm, I just not very familiar with all codes, so afraid bring bug into project^_^. I have created Pull Request. |
close due to #373 |
When I try use transaction, I implement the interface, I find the interface method's param is struct
I think passing struct isn't a efficient way. Then, my vim warning me "copy locks"
becuse struct Message and MessageExt anonymous inheritance sync.RWMutex
So I think mabey change TransactionListener to
will be better, if it will not case other bug. If it's ok, I can try to change it.
The text was updated successfully, but these errors were encountered: