DestroyHandler Typedef


typedef void (__cdecl* FlowSshC_DestroyHandler)(void* handlerData);


  • handlerData: Data passed to the initiating call.


Invoked when the object is being destroyed as a result of its last FlowSshC_*_Release call. This happens when both the user AND the library have released the object.
[C++] FlowSshCpp uses destroy handlers to delete its C++ wrapper objects from memory, and you can conveniently use the destructor of the associated object.