removed calls to self() from inside constructors in peer connections

This commit is contained in:
Arvid Norberg
2008-03-31 04:46:24 +00:00
parent 4328326ca1
commit 1511f2f59b
6 changed files with 40 additions and 9 deletions

View File

@@ -720,7 +720,11 @@ namespace aux {
c->m_in_constructor = false;
#endif
if (!c->is_disconnecting()) m_connections.insert(c);
if (!c->is_disconnecting())
{
m_connections.insert(c);
c->start();
}
}
catch (std::exception& exc)
{