AlexStocks commented on a change in pull request #82:
URL: https://github.com/apache/dubbo-getty/pull/82#discussion_r748700010



##########
File path: session.go
##########
@@ -129,6 +130,7 @@ type session struct {
        // goroutines sync
        grNum uatomic.Int32
        lock  sync.RWMutex
+       wlock sync.Mutex

Review comment:
       u should use this wlock before every write action/funcs.




-- 
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