no more New Thread
This commit is contained in:
parent
b2646e7340
commit
78c5899ac2
1 changed files with 4 additions and 1 deletions
|
@ -79,7 +79,7 @@ namespace CollabVMAgent
|
|||
#endif
|
||||
try
|
||||
{
|
||||
new Thread(() => Process.Start(UploadsFolder + @"\" + msg.Filename)).Start();
|
||||
Process.Start(UploadsFolder + @"\" + msg.Filename);
|
||||
} catch (Exception ex)
|
||||
{
|
||||
#if DEBUG
|
||||
|
@ -90,6 +90,9 @@ namespace CollabVMAgent
|
|||
}
|
||||
case ProtocolOperation.NOP:
|
||||
{
|
||||
#if DEBUG
|
||||
Console.WriteLine("Got NOP from server");
|
||||
#endif
|
||||
if (vio.WriteMsg(new ProtocolMessage
|
||||
{
|
||||
Operation = ProtocolOperation.NOP
|
||||
|
|
Loading…
Reference in a new issue