mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-01-01 06:10:17 +01:00
Handle restart
This commit is contained in:
parent
b035adda26
commit
ba69ba806e
|
|
@ -56,7 +56,11 @@ namespace SampleApp.WinDesktop
|
|||
return;
|
||||
if (stop != null)
|
||||
{
|
||||
await stop();
|
||||
try
|
||||
{
|
||||
await stop();
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
counter = 0;
|
||||
client.Connect(stream.Mountpoint);
|
||||
|
|
|
|||
Loading…
Reference in a new issue