You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using telepathy on a C# console application, when creating the most barebones app possible, the application freezes when I try to stop telepathy server.
The code is just this:
class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Starting Gameplay Server!");
var server = new Server();
server.Start(5000);
Console.WriteLine("Starting server on port [5000]...");
Thread.Sleep(5000);
server.Stop();
Console.WriteLine("Gameplay Server no longer running!");
}
}
The last line never gets output to the console. This happens when using either the NUGET package or latest revision from this repo. Might be worth noting Im using Visual Studio 2019 for Mac (on a Mac obviously), in case you are unable to reproduce on windows somehow.
Thank you for all the work put into Telepathy! I have just updated to the latest master commit (v1.7) and can confirm this issue persists. To be more precise, the code hangs on the listener?.Stop(); call.
Before updating I was using the fix from this pr: #81
Ill do some digging but unfortunately I'm far from an expert but I'll let you know if I find anything.
Activity
miwarnec commentedon Feb 4, 2021
sorry, didn't have time for telepathy in a while.
major rewrite in 2021 happened.
please see if the bug still exists. if yes, please reopen.
allan-m-smith commentedon May 23, 2021
Hi @vis2k!
Thank you for all the work put into Telepathy! I have just updated to the latest master commit (v1.7) and can confirm this issue persists. To be more precise, the code hangs on the listener?.Stop(); call.
Before updating I was using the fix from this pr: #81
Ill do some digging but unfortunately I'm far from an expert but I'll let you know if I find anything.