Destroy VI
Owning Palette: Session
Requires: LIBSSH2
Deallocates, or frees, the memory allocated for the libssh2lv shared library Session struct represented by this Session object. After this is called, the object can no longer be used in the application without causing a segmentation fault, i.e. crashing LabVIEW. This VI must be called to avoid leaking memory or running Out-of-Memory (OOM) on resource-constrained systems.
SSH
Destroys this Session object and returns the SSH context used to originally create it.
![]() | SSH represents the same libssh2-related context used to create the Session object from Session. |
![]() | Error Out contains error information. This provides standard error out functionality. Right-click the Error Out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
![]() | Error In describes error conditions that occur before this node runs. This input provides standard error in functionality. Right-click the Error In indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
![]() | Session represents a libssh2lv shared library Session struct. |