[#BloombergLP-bdlmt-EventScheduler-releaseEventRaw-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/EventScheduler.adoc[EventScheduler]::releaseEventRaw
:relfileprefix: ../../../
:mrdocs:

Release the specified raw event `handle`&period;

== Synopsis

Declared in `&lt;bdlmt&lowbar;eventscheduler&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
releaseEventRaw(xref:BloombergLP/bdlmt/EventScheduler/Event.adoc[Event]* handle);
----

== Description

Release the specified `handle`&period; Every handle reference added by `scheduleEventRaw`, `addEventRefRaw`, `scheduleRecurringEventRaw`, or `addRecurringEventRefRaw` must be released using this method to avoid leaking resources&period; The behavior is undefined if the value of `handle` is used for any purpose after being released&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *handle*
| raw event pointer to release
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
