Gio.SocketListener.prototype.close

function close(): void {
    // Gjs wrapper for g_socket_listener_close()
}
  

Closes all the sockets in the listener.

Since 2.22