Welcome to the new 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.

Graceful Disconnect FlexAPI client

Member ✭✭
edited February 2020 in SmartSDR API
I've written a non-GUI FlexAPI client. Every time my client disconnects from the radio, a System.ObjectDisposedException is thrown. I'm assuming it is because an incoming data packet has no client object to receive it as the client object (presumably a Radio) has been disposed. Is there a safe time to dispose of the Radio object when disconnecting?

Answers

  • Member ✭✭✭
    edited February 2020
    Are you disconnecting your event handlers before disconnecting the radio?

Leave a Comment