Drop mutex lock before resolving the domain when connecting.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2276 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2008-10-21 14:43:02 +00:00
parent 795dfd6905
commit f0ea3aeb91
1 changed files with 1 additions and 1 deletions

View File

@ -123,8 +123,8 @@ bool JBSocket::connect(bool& terminated, const char* newAddr, int newPort)
m_remoteDomain = newAddr;
if (newPort)
m_address.port(newPort);
m_address.host(m_remoteDomain);
lck1.drop();
m_address.host(m_remoteDomain);
terminated = false;
bool res = m_socket->connect(m_address);
// Lock again to update data