1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-25 18:30:20 +01:00

Lower the amount of time PortFwdThread waits until destruction. Greatly reduces shutdown time in the case where it can't communicate properly.

This commit is contained in:
Alejandro Wainzinger 2011-04-20 12:58:59 -04:00
parent 2e80475a9d
commit af9d2d388c

View File

@ -41,7 +41,7 @@ PortFwdThread::~PortFwdThread()
{
qDebug() << Q_FUNC_INFO << "waiting for event loop to finish...";
quit();
wait( 10000 );
wait( 1000 );
delete m_portfwd;
}