release_fd


Description:

[ Version ( since = "2.22" ) ]
public void release_fd ()

Releases a resources previously allocated by get_fd or make_pollfd.

For compatibility reasons with older releases, calling this function is not strictly required, the resources will be automatically freed when the this is finalized. However, the this will block scarce file descriptors until it is finalized if this function is not called. This can cause the application to run out of file descriptors when many Cancellables are used at the same time.

Parameters:

this

a Cancellable




2022 vala-language.org