Sets shouldClose

Prototype

void setShouldClose(
  int v
);