1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 16:14:40 +02:00

* Some routers are just too slow. Increased wait timeout before killing the PortFwdThread.

This commit is contained in:
Christian Muehlhaeuser
2011-01-24 05:56:40 +01:00
parent fcad645e45
commit 232fdfc06c

View File

@@ -23,7 +23,7 @@ PortFwdThread::~PortFwdThread()
{
qDebug() << Q_FUNC_INFO << "waiting for event loop to finish...";
quit();
wait( 2500 );
wait( 10000 );
delete m_portfwd;
}
@@ -49,7 +49,7 @@ PortFwdThread::work()
m_portfwd->remove( tryport );
}
for( int r = 0; r < 5; ++r )
for( int r = 0; r < 3; ++r )
{
qDebug() << "Trying to setup portfwd on" << tryport;
if( m_portfwd->add( tryport, m_port ) )