zzphyh commented on issue #14126:
URL: https://github.com/apache/dubbo/issues/14126#issuecomment-2101975575

   > So, we need to make `doRegister(this.serviceInstance)` happened before 
`this.serviceInstance = serviceInstance`?
   
   I think there are many solutions, such as using a separate variable to 
determine whether registration was successful, or capturing exceptions in the 
register method and reset this.serviceInstance to null


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to