EventLoop_Close Function

Header: #include <applibs/eventloop.h>

Closes an EventLoop object and releases its memory.

void EventLoop_Close(EventLoop *el);

Parameters

  • el The EventLoop object to close.

Remarks

The pointer to the EventLoop object becomes invalid when EventLoop_Close returns. Any attempts to use the pointer will lead to undefined behavior.