Terminate a connection with Screen
#include <screen/screen.h>
int screen_destroy_context(screen_context_t ctx)
Function type: Immediate Execution
This function closes an existing connection with Screen; therefore this context can no longer be used. The context is freed, along with any locally allocated resources. All render targets associated with this connection are destroyed. All events that are waiting in the event queue and any pending asynchronous commands are discarded. This operation doesn't flush the command buffer.
0