Close() public method

Call this function to release all resources used by the LCM instance. After calling this function, the LCM instance should consume no resources, and cannot be used to receive or transmit messages.
public Close ( ) : void
return void
Beispiel #1
0
    public void changeURL(string newURL)
    {
        // Close connection to previous URL
        myLCM.Close();

        // Set new URL
        setURL(newURL);
    }