Address warnings and move to FlyoutPage for Xamarin Forms 5

This commit is contained in:
2021-01-28 12:39:31 -06:00
parent c3acd35850
commit 746fd924d3
13 changed files with 135 additions and 142 deletions
@@ -4,6 +4,7 @@ using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Threading;
using Serilog;
namespace SharpOSC
{
@@ -124,7 +125,7 @@ namespace SharpOSC
}
} catch(Exception e)
{
//Console.WriteLine("TCPSENDER - Receive Exception: " + e.ToString());
Log.Debug("TCPClient - Receive Exception: " + e.ToString());
}
}
@@ -77,8 +77,9 @@ namespace SharpOSC
bytes = receivingUdpClient.EndReceive(result, ref RemoteIpEndPoint);
}
catch (ObjectDisposedException e)
{
{
// Ignore if disposed. This happens when closing the listener
Log.Debug(e.ToString());
}
// Process bytes