Open culionbear opened 4 years ago
Do I need a lock for this method "DialAndSend"; like this: emailLock.Lock() err:=emailHandle.DialAndSend(emailContent) emailLock.Unlock()
emailLock.Lock() err:=emailHandle.DialAndSend(emailContent) emailLock.Unlock()
Do I need a lock for this method "DialAndSend"; like this:
emailLock.Lock() err:=emailHandle.DialAndSend(emailContent) emailLock.Unlock()