Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37740815
en ru br
ALT Linux repos
5.0: 1.0.13-alt0.M50.1
4.1: 1.0.13-alt0.M41.1
4.0: 1.0.7-alt2.M40.1

Group :: Networking/Remote access
RPM: italc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: italc-1.0.9.1.6-ubuntu-ica-auto-respawn.patch
Download


 ica/src/ivs.cpp |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/ica/src/ivs.cpp b/ica/src/ivs.cpp
index 086ca61..34e6f1e 100644
--- a/ica/src/ivs.cpp
+++ b/ica/src/ivs.cpp
@@ -180,18 +180,7 @@ void IVS::run( void )
 			p.setProcessChannelMode( QProcess::ForwardedChannels );
 			p.start( QCoreApplication::applicationFilePath() +
 					" -rx11vs " + cmdline.join( " " ) );
-			m_restart = FALSE;
-			while( p.state() != QProcess::NotRunning )
-			{
-				sleep( 1 );
-				if( m_restart )
-				{
-					p.terminate();
-					sleep( 1 );
-					p.kill();
-					break;
-				}
-			}
+			p.waitForFinished(-1);
 		}
 		return;
 	}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin