al_destroy_event_queue(3) al_destroy_event_queue(3)

al_destroy_event_queue - Allegro 5 API

#include <allegro5/allegro.h>
void al_destroy_event_queue(ALLEGRO_EVENT_QUEUE *queue)

Destroy the event queue specified. All event sources currently registered with the queue will be automatically unregistered before the queue is destroyed.

This function does nothing if queue is NULL. (since 5.2.9)

al_create_event_queue(3), ALLEGRO_EVENT_QUEUE(3)

Allegro reference manual