Availability:C-language interface function
int PL_close_query(qid_t
qid)As PL_cut_query(),
but all data and bindings created by the query are destroyed as if the
query is called as \+ \+ Goal
. This reduces the need for
garbage collection, but also rewinds side effects such as setting global
variables using b_setval/2.