* Call put_domain_protocols() without having the socket locked. This fixes bug

#5210.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37895 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-08-04 08:42:25 +00:00
parent f91f6b6285
commit dc660d32ef
@@ -128,9 +128,10 @@ net_socket_private::~net_socket_private()
child->RemoveFromParent();
}
mutex_unlock(&lock);
put_domain_protocols(this);
mutex_unlock(&lock);
mutex_destroy(&lock);
}