LibraryLink ToToggle FramesPrintFeedback

Releasing a Handler

The runtime releases a handler when the service or service proxy to which the handler is bound is shutdown. The runtime will invoke an optional release method before invoking the handler's destructor. This optional release method can be used to release any resources used by the handler or perform other actions that would not be appropriate in the handler's destructor.

[Tip]Tip

You do not have to provide any clean-up methods for a handler.

The following happens when the handler is released: