no more New Thread

This commit is contained in:
Elijah R 2023-12-10 16:20:48 -05:00
parent b2646e7340
commit 78c5899ac2

View file

@ -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