Welcome to the FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

console.writeline on disconnect()?

Options
Member ✭✭
edited March 2017 in SmartSDR API

When calling radio.disconnect(), it looks like there might be a console.writeline somewhere in the code.  Any chance that can be removed? :-)  I can't find a way to cast it to void or send it (easily) to null or anything.  Not a big thing, just an annoyance.  Looks like it is printed twice if there is an active connection to the radio, but only once if there isn't an active connection already established.

Thanks!

-Robbie


Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Administrator, FlexRadio Employee admin
    edited February 2017
    Robbie,

    There are a handful of debug printouts like this in the FlexLib source.  You can safely comment them without issue.  Usually they are Debug.WriteLine calls so that they don't end up in release code.  This one looks like it was in Console.WriteLine as we were testing a condition that only happened in Release mode.

    I have commented this one in our source so this shouldn't appear in future updates to the library.  Thanks for catching this and let us know if you have any additional questions.
  • Member ✭✭
    edited March 2015
    Line 136

    D:Visual Studio 2013flexlibFlexLib_APICatCatMain.cs(136): Console.WriteLine("Radio removed: " + radio.ToString());
  • Member ✭✭
    edited March 2017
    Thanks Eric, I appreciate it! :-)

Leave a Comment