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
|
#endif
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
new Thread(() => Process.Start(UploadsFolder + @"\" + msg.Filename)).Start();
|
Process.Start(UploadsFolder + @"\" + msg.Filename);
|
||||||
} catch (Exception ex)
|
} catch (Exception ex)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
@ -90,6 +90,9 @@ namespace CollabVMAgent
|
||||||
}
|
}
|
||||||
case ProtocolOperation.NOP:
|
case ProtocolOperation.NOP:
|
||||||
{
|
{
|
||||||
|
#if DEBUG
|
||||||
|
Console.WriteLine("Got NOP from server");
|
||||||
|
#endif
|
||||||
if (vio.WriteMsg(new ProtocolMessage
|
if (vio.WriteMsg(new ProtocolMessage
|
||||||
{
|
{
|
||||||
Operation = ProtocolOperation.NOP
|
Operation = ProtocolOperation.NOP
|
||||||
|
|
Loading…
Reference in a new issue