Added comment to while loop
This commit is contained in:
parent
dfb888d3ef
commit
ae55708d00
@ -200,11 +200,11 @@ namespace sscs.common
|
||||
while(etor.MoveNext())
|
||||
{
|
||||
i++;
|
||||
/*
|
||||
/*
|
||||
CSSSLogger.DbgLog("Listing Active User Sessions");
|
||||
Console.WriteLine(etor.Key);
|
||||
Console.WriteLine((((SecretStore)(etor.Value)).secretStoreName + ":" + ((SecretStore)(etor.Value)).refCount);
|
||||
*/
|
||||
*/
|
||||
}
|
||||
mutex.ReleaseMutex();
|
||||
}
|
||||
@ -292,15 +292,18 @@ namespace sscs.common
|
||||
// Read the standard output of the spawned process.
|
||||
string myString = myStreamReader.ReadLine();
|
||||
int numProcs = 0;
|
||||
|
||||
// determine if user has more than 1 process still running
|
||||
while( myString != null)
|
||||
{
|
||||
if(numProcs > 1)
|
||||
{
|
||||
break;
|
||||
numProcs++;
|
||||
|
||||
myString = myStreamReader.ReadLine();
|
||||
}
|
||||
|
||||
numProcs++;
|
||||
myString = myStreamReader.ReadLine();
|
||||
}
|
||||
|
||||
do
|
||||
{
|
||||
@ -340,10 +343,10 @@ namespace sscs.common
|
||||
break;
|
||||
}
|
||||
}while(false);
|
||||
/*
|
||||
/*
|
||||
myProcess.Close();
|
||||
myStreamReader.Close();
|
||||
*/
|
||||
*/
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user