ReferenceContext.DestroyEvent

Declaration

public void DestroyEvent(LightTransport.EventID id);

Parameters

id ID of the event to destroy.

Description

Destroy the event with the given ID. You should call this to free temporary resources associated with an event. Attempting to use the event after it has been destroyed, for example using IDeviceContext.Wait or IDeviceContext.IsCompleted will result in undefined behavior.


Did you find this page useful? Please give it a rating: