K
Klaus Unterberg
Hello,
how about this:
...
catch (TimeoutException, InvalidCastException, ..)
{
SioComError = true;
}
...
instead of this:
...
catch (TimeoutException)
{
SioComError = true;
}
catch (InvalidOperationException)
{
// sio was closed, because com
// port removed/killed (serial over USB)
SioComError = true;
}
...
These would be nice to have. Thank you!
how about this:
...
catch (TimeoutException, InvalidCastException, ..)
{
SioComError = true;
}
...
instead of this:
...
catch (TimeoutException)
{
SioComError = true;
}
catch (InvalidOperationException)
{
// sio was closed, because com
// port removed/killed (serial over USB)
SioComError = true;
}
...
These would be nice to have. Thank you!